/* ========================================
   butten zu custemwebseite
)
   ======================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 200vh;
  font-family: Arial, sans-serif;
  background-color: #080811;
  color: white;
}

/* Hintergrundbild */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 200vh;
  z-index: -1;
}

/* Button bewegt sich beim Scrollen mit */
.button-container {
  position: absolute;
  top: 70vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;

  display: flex;
  justify-content: center;
  align-items: center;

  width: min(320px, calc(100% - 30px));
  animation: float 3s ease-in-out infinite;
}

/* Button-Design */
.glow-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;

  width: 100%;
  padding: 15px 18px;

  text-decoration: none;
  color: #a5b4fc;

  background: linear-gradient(
    135deg,
    rgba(21, 124, 64, 0.685),
    rgba(128, 18, 161, 0.664)
  );

  border: 2px solid rgba(99, 102, 241, 0.45);
  border-radius: 17px;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Animierter Lichtstreifen */
.glow-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(165, 180, 252, 0.3),
    transparent
  );

  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}

/* Hover-Effekt */
.glow-button:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: #818cf8;

  box-shadow:
    0 0 25px rgba(99, 102, 241, 0.4),
    0 10px 35px rgba(0, 0, 0, 0.5);
}

.glow-button:active {
  transform: scale(0.97);
}

/* Icon */
.button-icon {
  position: relative;
  z-index: 1;

  width: 48px;
  height: 48px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: rgba(99, 102, 241, 0.25);
  font-size: 25px;
}

/* Textbereich */
.button-text {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: left;
}

.button-title {
  display: block;
  font-size: 17px;
  font-weight: bold;
  color: #a5b4fc;
}

.button-subtitle {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #c7d2fe;
  opacity: 0.8;
}

/* Pfeil */
.arrow {
  position: relative;
  z-index: 1;
  font-size: 27px;
  color: #818cf8;
  transition: transform 0.3s ease;
}

.glow-button:hover .arrow {
  transform: translateX(5px);
}

/* Schwebeanimation */
@keyframes float {
  0%, 100% {
    margin-top: 0;
  }

  50% {
    margin-top: -10px;
  }
}

/* Lichtanimation */
@keyframes shine {
  0%, 60% {
    left: -120%;
  }

  90%, 100% {
    left: 150%;
  }
}

/* Smartphone */
@media (max-width: 600px) {
  .button-container {
    width: min(320px, calc(100% - 30px));
  }

  .glow-button {
    padding: 12px 15px;
    gap: 12px;
  }

  .button-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .button-title {
    font-size: 16px;
  }

  .button-subtitle {
    font-size: 12px;
  }
}

/* Animationen reduzieren, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
  .button-container,
  .glow-button::before {
    animation: none;
  }

  .glow-button,
  .arrow {
    transition: none;
  }
}


/* ========================================
   CUSTOMWEAR – STYLE.CSS (3D Ultra Fast Motion)
   ======================================== */

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

:root {
    --bg: #6e358c;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #a855f7;
    --accent-light: #c084fc;
    --accent2: #06b6d4;
    --success: #30d158;
    --danger: #ff453a;
}

html {
    scroll-behavior: smooth;
    perspective: 1200px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    line-height: 1.5;
    transform-style: preserve-3d;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}

/* HINTERGRUND-ORBS IN 3D RAUM (SEHR SCHNELL) */

.background-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.6;
    z-index: -1;
    transform-style: preserve-3d;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: #9333ea;
    top: -100px;
    left: -100px;
    animation: moveOrb3D1 5.5s ease-in-out infinite alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: #4f46e5;
    top: 40%;
    right: -200px;
    animation: moveOrb3D2 5.5s ease-in-out infinite alternate;
}

@keyframes moveOrb3D1 {
    0% {
        transform: translate3d(0, 0, -100px) scale(1);
    }
    50% {
        transform: translate3d(280px, 200px, 220px) scale(1.3);
    }
    100% {
        transform: translate3d(120px, 380px, -80px) scale(0.85);
    }
}

@keyframes moveOrb3D2 {
    0% {
        transform: translate3d(0, 0, -50px) scale(1);
    }
    50% {
        transform: translate3d(-300px, -220px, 260px) scale(1.35);
    }
    100% {
        transform: translate3d(-150px, 260px, -120px) scale(0.8);
    }
}

/* GLAS-EFFEKT MIT TIEFE */

.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateZ(20px);
}

/* NAVIGATION */

.navbar {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #ffffff, #e9d5ff, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    color: var(--accent-light);
}

.logo-icon {
    color: #fff !important;
}

/* SEITENLAYOUT */

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero {
    padding: 6rem 0 4rem;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #d8b4fe;
}

.designer-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.designer-grid > *:first-child {
    grid-column: span 7 / span 7;
}

.designer-grid > *:last-child {
    grid-column: span 5 / span 5;
}

.panel {
    border-radius: 1.5rem;
}

/* EINSTELLUNGEN & INPUTS */

textarea,
select,
.customer-form input,
.glass-input {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(12px);
    transition: all 0.2s ease;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    outline: none;
    width: 100%;
}

textarea:focus,
select:focus,
.customer-form input:focus,
.glass-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

select {
    cursor: pointer;
}

select option {
    background: #0f172a;
    color: #ffffff;
}

/* GRÖSSENAUSWAHL */

.size-btn {
    border-radius: 0.75rem;
}

/* SCHRIFTGRÖSSE UND DREHUNG */

input[type="range"] {
    display: block;
    width: 100%;
    accent-color: var(--accent);
    cursor: pointer;
}

/* LIVE-VORSCHAU */

#customizer-preview-container {
    perspective: 1200px;
}

.garment-stage {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.preview-stage {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
}

#designCanvas {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: grab;
    touch-action: none;
}

#designCanvas:active {
    cursor: grabbing;
}

.draggable-element {
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.draggable-element:active {
    cursor: grabbing;
}

/* KUNDENDATEN & PAYPAL-BUTTON */

.customer-form input {
    margin-bottom: 0;
}

.main-button {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    transition: all 0.2s ease;
}

.main-button:hover {
    background: linear-gradient(to right, #3b82f6, #6366f1);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #05060a;
}

::-webkit-scrollbar-thumb {
    background: rgb(100, 15, 100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 15, 100);
}

/* TABLET & MOBILE RESPONSIVE */

@media (max-width: 1024px) {
    .designer-grid > *:first-child,
    .designer-grid > *:last-child {
        grid-column: span 12 / span 12;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 5rem 0 3rem;
    }
}

/* REDUZIERTE ANIMATIONEN */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}