@font-face {
  font-family: 'standard';
  src: url('fonts/standard.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --background-color: #FAFAFA;
  --text-color: #000000;
  --accent-color: #000000;

  --base-font-size: 18px;
  --body-size: 1.125rem; 
  --nav-size: 1.1rem;
  --button-size: 1.2rem;
  --small-size: 0.95rem;

  --h1-size: clamp(2.2rem, 3vw + 1rem, 4rem);
  --h2-size: clamp(1.8rem, 2.5vw + 1rem, 3.2rem);
  --h3-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);

  --line-height: 1.5;
  --font-family: 'standard', sans-serif;
}

html {
  font-size: var(--base-font-size);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family) !important;
}

input, textarea, select, button {
  font-family: var(--font-family) !important;
}
::placeholder {
  font-family: var(--font-family) !important;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: var(--body-size);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: var(--h1-size); line-height: 1.15; }
h2 { font-size: var(--h2-size); line-height: 1.2; }
h3 { font-size: var(--h3-size); line-height: 1.25; }
p  { font-size: var(--body-size); }

.background-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('data/logo_white_single.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40vmin;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  animation: pulseLogo 6s ease-in-out infinite;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@keyframes pulseLogo {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.02;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.05;
  }
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.shop-button {
  all: unset;
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #000;
  font-size: var(--button-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  margin-top: 2rem;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.3s ease, color 0.3s ease;
}
.shop-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
  transform: translateY(-2px);
}

header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 72px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--nav-size);
  cursor: pointer;
  padding: 0.6rem 1rem;
  transition: color 0.3s ease, transform 0.15s ease;
  white-space: nowrap;
  line-height: 1.2;
}
nav a:hover {
  color: #555;
  transform: translateY(-1px);
}
nav a i {
  font-size: calc(var(--nav-size) + 0.2rem);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  flex-direction: column;
}
.content h2 {
  font-size: var(--h2-size);
  margin-bottom: 1rem;
  font-weight: 600;
}
.content p {
  font-size: var(--body-size);
  margin-bottom: 1.5rem;
  color: #444;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  font-size: var(--small-size);
  color: #666;
  background-color: #f9f9f9;
}
footer a {
  color: #666;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #333;
  text-decoration: underline;
}

.fade-container {
  display: flex;
  gap: 15px; 
  justify-content: center; 
  align-items: center; 
}

.fade-in {
  opacity: 0;
  animation: fadeIn 3s forwards;
}
.delay1 { animation-delay: 0.5s; }
.delay2 { animation-delay: 0.75s; }
.delay3 { animation-delay: 1.25s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 2000;
  animation: fadeInPopup 0.4s ease;
  font-family: var(--font-family);
}
.cookie-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--text-color);
}
.cookie-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}
.cookie-link {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-button {
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  background: var(--accent-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.cookie-button:hover {
  background: #333;
}

/* Animation */
@keyframes fadeInPopup {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hide-popup { animation: fadeOutPopup 0.4s ease forwards; }
@keyframes fadeOutPopup {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(20px); }
}

/* =========================
   Responsive Basics
   ========================= */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  nav {
    width: 100%;
    justify-content: center;
  }
  nav a {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    flex: 1 1 auto;
    text-align: center;
  }
  .content h2 { font-size: 2.25rem; }
  .content p  { font-size: 1rem; }
  .shop-button { font-size: 1rem; padding: 0.7rem 2rem; }
  footer { font-size: 0.8rem; padding: 1.5rem 1rem; }
}
@media (max-width: 480px) {
  nav { flex-direction: column; }
  nav a { width: 100%; }
}

/* ========== SOCIALS BUTTON (GLASSMORPHISM) ========== */
button {
  --border-width: 2px;
  all: unset;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999vw;
  border: var(--border-width) solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.4),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 300ms ease;
  padding: 0.6em 1.3em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

button:hover {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.2),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.25);
}

button span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.05em;
  color: #333;
  position: relative;
  z-index: 2;
}

.insta-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

button:hover .insta-icon {
  transform: scale(1.1);
}

/* =========================================================
   SVG MENÜ ICON – NUR MOBILE & HOTBAR-TOGGLE
   ========================================================= */
.menu-icon-btn {
  display: none; /* Auf Desktop versteckt */
  position: fixed;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10002;

  display: flex;
  align-items: center;
  justify-content: center;

  -webkit-tap-highlight-color: transparent;
}
.menu-icon-btn img,
.menu-icon-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  pointer-events: none;
}

/* Nur auf Mobile sichtbar */
@media (max-width: 900px) {
  .menu-icon-btn { display: flex; }
}
/* Auf Desktop komplett verstecken */
@media (min-width: 901px) {
  .menu-icon-btn { display: none !important; visibility: hidden !important; }
}

/* === Overlay hinter dem Panel (Start: aus) === */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9990;
}

/* === Mobile Panel (Hotbar) === */
@media (max-width: 900px){
  header .header-inner nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: var(--background-color, #fff);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    padding: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10000;

    justify-content: center;
    align-items: center;
    text-align: center;
  }

  header .header-inner nav a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #000;
  }
}

header .header-inner nav a{
  display: block;
  padding: .9rem 1rem;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: .6rem;
}
header .header-inner nav a:hover{ background: rgba(0,0,0,.06); }

html.menu-open header .header-inner nav {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
html.menu-open .mobile-nav-overlay {
  opacity: 1;
  pointer-events: auto;
  left: 0;
  width: calc(100% - min(80vw, 320px));
}

/* === Desktop: Navigation exakt mittig === */
@media (min-width: 901px){
  .mobile-nav-overlay{ display: none !important; opacity: 0 !important; pointer-events: none !important; }

  header .header-inner {
    justify-content: center;
    position: relative;
  }

  header .header-inner nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
  }
}
