/* ==========================================
   NASTIQ WEBSITE – CLEANED & RESPONSIVE CSS
   ========================================== */

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

:root {
    --nastiq-pink: color(display-p3 1 0 0.49);
    --nastiq-green: color(display-p3 0 1 0.376);
    --nastiq-white: white;
}

@supports (color: color(display-p3 1 1 1)) {
    :root {
        --nastiq-white: color(display-p3 1 1 1);
    }
}

@font-face {
    font-family: 'Druk Wide';
    src: url('../fonts/DrukTextWide-Bold.woff2') format('woff2'),
         url('../fonts/DrukTextWide-Bold.woff') format('woff');
    font-weight: bold;
}

@font-face {
    font-family: 'Neue Machina';
    src: url('../fonts/NeueMachina-Regular.woff2') format('woff2'),
         url('../fonts/NeueMachina-Regular.woff') format('woff');
    font-weight: normal;
}

body {
    font-family: 'Neue Machina', sans-serif;
    background-color: #101110;
    color: var(--nastiq-white);
    text-align: center;
    padding: 10px;
    width: 100%;
    height: 100%;
}

/* TYPOGRAPHY */
.left { text-align: left; }
.center { text-align: center; }

h1, h2, h3, h4 {
    font-family: 'Druk Wide', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center !important;
    line-height: 1.1;
    color: var(--nastiq-pink);
    -webkit-text-align: center;
}

h1 { font-size: 4rem; }
h2 { font-size: 4rem; }
h3 { font-size: 4rem; color: var(--nastiq-green); margin-top: 15px; }
h4 { text-align: center; font-size: 1.8rem; }

h2 small, h3 small {
    display: block;
    font-size: 0.6em;
    font-weight: normal;
    line-height: 1.5;
    color: var(--nastiq-white);
    text-align: center;
}

/* Zusätzliche Safari-Unterstützung */
@supports (-webkit-appearance: none) {
    h1, h2, h3, h4 {
        text-align: center !important;
        justify-self: center;
    }
}

h3 {
    margin-top: 15px;
    color: var(--nastiq-green);
    text-align: center;
  }

h5, h6, p, li {
    font-family: 'Neue Machina', sans-serif;
    color: var(--nastiq-white);
    letter-spacing: 0;
    line-height: 1.5;
    text-align: center;
}

h5 {
    font-size: 1rem;
    margin-top: 25px;
    text-align: center;
}

h6, p {
    font-size: 1.2rem;
    margin-top: 15px;
    text-align: center;
    line-height: 1.9;
    color: var(--nastiq-white);

}

/* LOGO SECTION */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding-top: 150px;
}

.logo {
    width: 90vw;
    width: 800px;
    height: auto;
    opacity: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}





section {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center !important;
    padding: 0px 100px; /* Reduziertes Padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
}


/* HIGHLIGHTS */
.highlight { color: var(--nastiq-white); }
.green { color: var(--nastiq-green); }

/* LISTS */
ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: auto;
    max-width: 1000px;
}

li {
    font-size: 1.2rem;
    margin: 25px 0;
    padding-left: 0;
    position: relative;
}

li::before {
    color: var(--nastiq-green);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 5px;
}

/* CTA BUTTON */
.cta {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background: none;
    border: 1px solid var(--nastiq-green);
    color: var(--nastiq-green);
    padding: 15px 30px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    animation: neonGlow 1.5s infinite alternate ease-in-out;
}

.cta:hover, button:hover {
    background-color: #101110;
    color: var(--nastiq-green);
}

@keyframes neonGlow {
    0% { box-shadow: 0 0 5px var(--nastiq-green); }
    50% { box-shadow: 0 0 20px var(--nastiq-green); }
    100% { box-shadow: 0 0 5px var(--nastiq-green); }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 0;
    background-color: #050706;
    color: var(--nastiq-pink);
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 5px;
}

footer p, footer a {
    font-size: 1rem;
    color: var(--nastiq-white);
    text-decoration: none;
}

footer a:hover {
    text-decoration: none;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    padding-top: 20px;
}

.social-icons img {
    width: 40px;
    transition: transform 0.1s ease, filter 0.1s ease;
    filter: brightness(0.4);
}

.social-icons img:hover {
    filter: brightness(100.2);
}

/* FLASH OVERLAY */
.flash, .flash-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
}

.flash { background: var(--nastiq-pink); }
.flash-image { object-fit: cover; }

/* NAVIGATION */
nav a {
    font-family: 'Druk Wide', sans-serif;
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--nastiq-pink);
}

nav a:hover {
    text-decoration: none;
}

/* BACK BUTTON */
.back-button {
    width: 40px;
    height: auto;
    cursor: pointer;
    transition: transform 0.1s ease, filter 0.1s ease;
    filter: brightness(0.4);
}

.back-button:hover {
    filter: brightness(100.2);
}

@media (max-width: 768px) {
    html {
      font-size: 14px;
      text-align: center;
    }
  
    h1, h2 {
      font-size: 2.5rem;
      text-align: center;
    }
  
    h3 {
      font-size: 1.5rem;
      text-align: center;
    }
  
    p, li {
      font-size: 1rem;
    }
  
    .cta {
      font-size: 1.2rem;
      padding: 10px 20px;
    }
  
    .logo {
      width: 90vw;
    }
  }

  .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
  }

  footer a {
    color: var(--nastiq-pink) !important;
  }




  body {
    overflow-x: hidden;
  }


  /* {
    outline: 1px solid red;
  }*/


  .container {
    width: 100%;
box-sizing: border-box;
  }



  html, body {
    overflow-x: hidden;
  }


  @media (max-width: 480px) {
    section,
    main,
    .container,
    .content {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      text-align: center;
    }
  }

/* DEBUG - Uncomment to see element boundaries */
/*
* {
    outline: 1px solid red;
}
*/

/* ==========================================
   SAFARI FIX - GANZ UNTEN IN STYLE.CSS EINFÜGEN
   ========================================== */

/* SECTION FLEXBOX FIX FÜR SAFARI */
section {
    max-width: 1400px;
    margin: 100px auto;
    text-align: center !important;
    padding: 185px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ALLE ÜBERSCHRIFTEN SAFARI-KOMPATIBEL */
h1, h2, h3, h4 {
    font-family: 'Druk Wide', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center !important;
    line-height: 1.1;
    color: var(--nastiq-pink);
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
}

/* WEBKIT/SAFARI SPEZIFISCH */
@supports (-webkit-appearance: none) {
    section {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    h1, h2, h3, h4 {
        text-align: center !important;
        align-self: center !important;
        justify-self: center !important;
        margin: 0 auto !important;
        display: block !important;
        width: 100% !important;
    }
}

/* MOBILE SAFARI EXTRA FIX */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    h1, h2, h3, h4 {
        text-align: center !important;
        display: block !important;
        margin: 0 auto !important;
        width: 100% !important;
        align-self: center !important;
    }
    
    section {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

  

















/* Header Styles */
header {
    background: rgba(27, 27, 27, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 0; /* Reduziert von 1rem auf 0.5rem */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 0px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    font-size: 1.1rem; /* Reduziert von 1.8rem */
    font-weight: bold;
    color: var(--nastiq-pink);
    text-decoration: none;
    transition: opacity 0.3s;
    font-family: "Neue Machina";
}

.logo-nav:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 1.3rem; /* Reduziert von 2rem */
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    position: relative;
    font-family: "Druk Wide";
    font-size: 1rem; /* Reduziert von 1.2rem */
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--nastiq-green);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Body Padding für Fixed Header - angepasst für dünneren Header */
body {
    padding-top: 60px; /* Reduziert von 80px */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    /* Noch dünnerer Header auf mobilen Geräten */
    header {
        padding: 0.3rem 0;
    }
    
    body {
        padding-top: 50px;
    }
}

