/* BACKLINE – clean premium layout ---------------------------------- */
:root {
  --bg: #ffffff;
  --text: #111;
  --muted: #666;
  --accent: #000;
  --accent-2: #333;
  --radius: 14px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #fff;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #000;
  text-transform: uppercase;
  position: relative;
  text-shadow: none;
}

nav a {
  color: #000;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #333;
  text-shadow: none;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10%;
  }
  header .logo {
    margin-bottom: 12px;
    font-size: 22px;
  }
  nav {
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
  }
  .cart-icon {
    margin-left: 0;
  }
}

/* HEADER SECOND BLOCK */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #eee;
}

header .logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent-2);
}

/* CUSTOM PAGE */
.custom .form-wrap {
  display: flex;
  gap: 60px;
  justify-content: center;
  padding: 80px 10%;
  flex-wrap: wrap;
}

.custom form#customForm {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.custom form#customForm h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.custom form#customForm label {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.custom form#customForm input,
.custom form#customForm select,
.custom form#customForm textarea {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.custom form#customForm input:focus,
.custom form#customForm select:focus,
.custom form#customForm textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.custom form#customForm textarea {
  resize: vertical;
  min-height: 80px;
}

.custom form#customForm .hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.custom form#customForm .btn.primary {
  margin-top: 15px;
  padding: 12px;
  font-weight: 700;
}

/* PREVIEW */
.custom .preview {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.custom .preview h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

#previewBox {
  min-height: 300px;
  border: 2px dashed #eee;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--muted);
  background: #fafafa;
  transition: var(--transition);
}

#previewBox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}

@media (max-width: 900px) {
  .custom .form-wrap {
    flex-direction: column;
    padding: 60px 5%;
    gap: 40px;
  }
  .custom .preview {
    max-width: 100%;
  }
}

/* FLOATING TEXT */
.hero-claim.floating {
  font-size: 3rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 800;
  color: #111;
  position: relative;
}

.glow-blue,
.glow-pink {
  position: relative;
  display: inline-block;
}

.glow-blue::before,
.glow-pink::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  filter: blur(12px);
  opacity: 0.15;
  z-index: -1;
}

.float1,
.float2,
.float3,
.float4 {
  display: inline-block;
  animation: float1 8s ease-in-out infinite alternate;
}

@keyframes float1 {
  0% { transform: translate(0px, 0px); }
  25% { transform: translate(8px, -10px); }
  50% { transform: translate(-8px, -15px); }
  75% { transform: translate(6px, -8px); }
  100% { transform: translate(0px, 0px); }
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 85vh;
  padding: 60px 10%;
  gap: 60px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero .actions {
  display: flex;
  gap: 16px;
}

/*Bilder hin und herschalten*/
.product-image {
  position: relative;
  width: 100%;
  max-width: 300px;

  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f8f8f8;

  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  display: block;
  transition: transform 0.3s ease;
}

.product:hover .product-image img {
  transform: scale(1.05);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: white;
  background: rgba(0,0,0,0.3);
  padding: 5px 10px;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
}

.arrow.left {
  left: 5px;
}

.arrow.right {
  right: 5px;
}
.size-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: #222;
}

.size-select {
  width: 100%;
  max-width: 180px;
  padding: 0.45rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.size-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
  outline: none;
}
/* Austrian Supermoto Crew Section */
.crew {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.crew-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.austrian-flag {
  font-weight: 800;
  background: linear-gradient(to right, red 33%, white 33% 66%, red 66%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4); /* leichte Kontur, nur sichtbar auf weißem Hintergrund */
}

.crew-intro p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.crew-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.crew-highlights .highlight {
  flex: 1 1 250px;
  max-width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.crew-highlights .highlight:hover {
  transform: translateY(-5px);
}
.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: #E1306C; /* Instagram pink gradient alternative */
  color: #fff;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.insta-icon {
  width: 24px;
  height: 24px;
}


.crew-highlights .highlight h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #222;
}

.crew-highlights .highlight p {
  font-size: 1rem;
  color: #555;
}


/* VIDEO */
.video-wrapper {
  width: 70%;
  margin: 0 auto;
  border-radius: 22px;
  padding: 4px;
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  aspect-ratio: 4 / 5; /* 🔥 sorgt dafür, dass nix mehr verrutscht */
  overflow: hidden; /* 🔥 wichtig für sauberes cropping */
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 füllt den Rahmen perfekt */
  border-radius: 18px;
  display: block;
}

.video-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn.primary {
  background: #000;
  color: #fff;
}

.btn.primary:hover {
  opacity: 0.8;
}

.btn.ghost {
  background: none;
  border: 1.5px solid #ddd;
}

.btn.ghost:hover {
  border-color: #000;
  color: #000;
}

/* STEPS */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 80px 10%;
  text-align: center;
  flex-wrap: wrap;
}

.step {
  max-width: 250px;
}

.step-num {
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  font-weight: 700;
  font-size: 18px;
}

/* SHOP */
.shop,
.shop-page {
  padding: 80px 10%;
}

.shop h3,
.shop-page h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}

.product:hover {
  transform: translateY(-5px);
}

.product img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.product h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.product p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.add-cart {
  background: #000;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.add-cart:hover {
  opacity: 0.8;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 10%;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* FAQ */
.faq {
  padding: 80px 10%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto 100px auto;
  color: var(--text);
}

.faq .faq-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.faq .faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent);
  cursor: pointer;
  transition: color var(--transition);
}

.faq h4:hover {
  color: var(--accent-2);
}

.faq p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
}

@media (max-width: 600px) {
  .faq {
    padding: 40px 5%;
  }
  .faq h4 {
    font-size: 1.1rem;
  }
  .faq p {
    font-size: 0.95rem;
  }
}

/* CART */
.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 20px;
  margin-left: 12px;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #000;
  color: #fff;
  font-size: 11px;
  padding: 2px 5px;
  border-radius: 50%;
  font-weight: 700;
}

#cart-popup {
  position: fixed;
  top: 80px;
  right: 40px;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 999;
  display: none;
}

/* CUSTOM PAGE WRAPPER */
.custom .form-wrap {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 80px 10%;
  flex-wrap: wrap;
}

/* FORM CONTAINER */
#customForm {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#customForm h3 {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

/* FIELDSETS */
#customForm fieldset {
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px 22px;
}

#customForm legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}

/* LABELS */
#customForm label {
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 5px;
  display: block;
  color: var(--text);
}

/* INPUTS / SELECT / TEXTAREA */
#customForm input,
#customForm select,
#customForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  background: #fff;
}

#customForm input:focus,
#customForm select:focus,
#customForm textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

#customForm textarea {
  resize: vertical;
  min-height: 90px;
}

/* SMALL HINT TEXT */
#customForm .hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* SUBMIT BUTTON */
#customForm .btn.primary {
  margin-top: 10px;
  padding: 14px;
  width: 100%;
  text-align: center;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .custom .form-wrap {
    flex-direction: column;
    padding: 60px 6%;
    gap: 40px;
  }

  #customForm {
    max-width: 100%;
  }
}

/* SECTION DIVIDER */
.section-divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 60px 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.section-divider-text::before,
.section-divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
  margin: 0 15px;
}
.added-message {
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  padding: 4px 10px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}

.added-message.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}
.cart-popup-item button {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #777;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: 0.2s;
}

.cart-popup-item button:hover {
  background: #eee;
  color: #000;
}
.checkout-btn-small {
  width: 100%;
  padding: 10px 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.25s ease;
}

.checkout-btn-small:hover {
  background: #333;
}
#cart-popup {
  padding: 12px;
  border-radius: 10px;
}

.cart-popup-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e5e5e5;
}

.cart-popup-item:last-child {
  border-bottom: none;
}
/* Team Page Styles */
/* --- TEAM PAGE STYLING (PROFESSIONAL, CLEAN SKIV STYLE) --- */

/* Main Section */
.team-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.team-intro {
  text-align: center;
  margin-bottom: 60px;
}

.team-intro h1 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #111;
  text-transform: uppercase;
  position: relative;
}

.team-intro h1::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #000;
  display: block;
  margin: 14px auto 0;
  border-radius: 2px;
}

.team-intro .subtitle {
  font-size: 18px;
  color: #666;
}

/* Category Blocks */
.team-block {
  margin-bottom: 80px;
}

.team-category {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  color: #000;
  position: relative;
}

.team-category::before {
  content: "";
  width: 40px;
  height: 3px;
  background: #000;
  display: block;
  border-radius: 2px;
  margin-bottom: 10px;
}

.category-desc {
  color: #777;
  margin-bottom: 30px;
  font-size: 15px;
}

/* Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Member Cards */
.team-member {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 700;
}

.role {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.social {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
}

.social:hover {
  opacity: 0.6;
  border-bottom: 1px solid #111;
}

.form-success, .form-error {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
}

.form-success {
  background: #e7f8ef;
  color: #1e6b3a;
}

.form-error {
  background: #fdecea;
  color: #a30000;
}


@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .video-wrapper {
    width: 90%;
    margin-top: 40px;
  }
}
