/* ============================================================
   HERO SECTION — index.html
   Design: Clean white, light topographic bg, green accent
   ============================================================ */

/* ─── Base ───────────────────────────────────────────────── */
body.has-hero {
  background: #ffffff;
  font-family: 'Inter', sans-serif;
}

/* ─── Footer ─────────────────────────────────────────────── */
body.has-hero #footer {
  background: #fff;
  margin-top: 0;
  border-top: 1px solid #e5e7eb;
}
body.has-hero .foot-con {
  color: #6b7280;
  border-top: none;
}
body.has-hero .foot-con a {
  color: #6b7280;
}
body.has-hero .foot-con a:hover {
  color: #111;
}

/* ─── Newsletter im Hardware-Footer ─────────────────────── */
body.has-hero .foot-newsletter {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 12px;
}
body.has-hero .foot-newsletter form {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
body.has-hero .foot-newsletter #newsletterinput {
  background: #f9f9f7 !important;
  color: #111 !important;
  border: 1.5px solid #e5e7eb !important;
  border-right: none !important;
  height: 38px !important;
  width: 100% !important;
  border-radius: 10px 0 0 10px !important;
  font-size: 13px !important;
  font-family: 'Inter', sans-serif !important;
  padding: 0 14px !important;
  outline: none !important;
  transition: border-color .2s !important;
}
body.has-hero .foot-newsletter #newsletterinput::placeholder {
  color: #9ca3af !important;
}
body.has-hero .foot-newsletter #newsletterinput:focus {
  border-color: #111 !important;
  background: #fff !important;
}
body.has-hero .foot-newsletter .newsletter_submit {
  background: #111 !important;
  background-image: none !important;
  border: none !important;
  height: 38px !important;
  width: auto !important;
  padding: 0 16px !important;
  border-radius: 0 10px 10px 0 !important;
  cursor: pointer !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  transition: background .2s !important;
  flex-shrink: 0 !important;
}
body.has-hero .foot-newsletter .newsletter_submit:hover {
  background: #333 !important;
  background-image: none !important;
  transform: none !important;
}

/* ─── Hero Container ─────────────────────────────────────── */
#hero {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 48vh;
}


/* ─── Top Navigation ─────────────────────────────────────── */
.hero-topnav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid #f0f0ee;
  background: #fff;
  gap: 0;
}

/* Left: page links */
.hero-topnav-links {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-topnav-links li { margin: 0; padding: 0; }
.hero-topnav-links a {
  color: #555;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.hero-topnav-links a:hover {
  color: #111;
  background: #f4f4f2;
}

/* Center: logo */
.hero-topnav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
}
.hero-topnav-logo:hover { opacity: .8; }
.hero-topnav-logo img {
  max-height: 38px;
  width: auto;
  display: block;
  filter: none;
}

/* Right: actions */
.hero-topnav-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.hero-cart-wrap {
  display: inline-flex;
  align-items: center;
}

.hero-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #111 !important;
  text-decoration: none;
  background: #fff;
  transition: border-color .18s, background .18s;
  white-space: nowrap;
}
.hero-login-btn:hover {
  border-color: #111;
  background: #f5f5f3;
  color: #111 !important;
}

/* ─── Konto Dropdown ─────────────────────────────────────── */
.konto-dropdown {
  position: relative;
  display: inline-block;
}
.konto-menu {
  display: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 160px;
  overflow: hidden;
}
.konto-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: #111 !important;
  text-decoration: none;
  transition: background .15s;
}
.konto-menu a:hover {
  background: #f5f5f3;
}

/* ─── Hero Main Layout (two-column) ──────────────────────── */
.hero-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px 48px 20px;
  gap: 48px;
}

/* ─── Left: text ─────────────────────────────────────────── */
.hero-left {
  flex: 0 0 46%;
  max-width: 46%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-product-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  animation: fadeUp .5s ease .1s both;
}

.hero-headline {
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.03;
  color: #111;
  margin: 0 0 20px;
  letter-spacing: -.03em;
  font-family: 'Inter', sans-serif;
  animation: fadeUp .6s ease .2s both;
}

.hero-desc {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 440px;
  animation: fadeUp .5s ease .3s both;
}

/* Feature badges */
.hero-features {
  display: flex;
  gap: 22px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation: fadeUp .5s ease .4s both;
}
.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}
.hero-feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* CTA buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  animation: fadeUp .5s ease .5s both;
}

.hero-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 30px;
  background: #111;
  color: #fff !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .18s;
  letter-spacing: .01em;
}
.hero-btn-dark:hover {
  background: #333;
  color: #fff !important;
  transform: translateY(-1px);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border: 1.5px solid #d1d5db;
  color: #111 !important;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .18s;
  letter-spacing: .01em;
}
.hero-btn-ghost:hover {
  border-color: #111;
  background: #f5f5f3;
  color: #111 !important;
  transform: translateY(-1px);
}

/* ─── Synced text slides ─────────────────────────────────── */
.hero-text-slide {
  display: none;
  width: 100%;
}
.hero-text-slide.active {
  display: block;
  animation: fadeUp .45s ease both;
}

.hero-slide-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -.02em;
}

.hero-slide-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 440px;
}

/* ─── Right: image slider ────────────────────────────────── */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 340px;
}

.hero-slider {
  width: 100%;
  max-width: 480px;
  position: relative;
}

.hero-slide {
  display: none;
  animation: fadeUp .45s ease both;
}
.hero-slide.active {
  display: block;
}
.hero-slide a {
  display: block;
}
.hero-slide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  transition: transform .4s ease;
}
.hero-slide:hover img {
  transform: scale(1.025) translateY(-4px);
}

/* Vertical dot navigation (right side of slider) */
.hero-slider-dots {
  position: absolute;
  right: -36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s, background .2s, transform .2s;
}
.hero-dot:hover {
  border-color: #9ca3af;
  transform: scale(1.15);
}
.hero-dot.active {
  background: #22c55e;
  border-color: #22c55e;
  transform: scale(1.15);
}

/* ─── Sonderpreise Section ───────────────────────────────── */
.sonder-section {
  background: #fafafa;
  padding: 52px 48px 64px;
}

.sonder-heading {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.sonder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sonder-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease;
  display: flex;
  flex-direction: column;
}
.sonder-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
  transform: translateY(-3px);
}

.sonder-card-img-link {
  display: block;
  background: #ffffff;
  padding: 20px;
  text-align: center;
}
.sonder-card-img-link img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
  transition: transform .32s ease;
}
.sonder-card:hover .sonder-card-img-link img {
  transform: scale(1.04);
}

.sonder-card-body {
  padding: 16px 18px 20px;
  border-top: 1px solid #f0f0ee;
  background: #e8e8e6;
  flex: 1;
}
.sonder-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 7px;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}
.sonder-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-main { padding: 48px 36px 60px; gap: 36px; }
  .hero-topnav { padding: 16px 36px; }
  .sonder-section { padding: 44px 36px 56px; }
}
@media (max-width: 900px) {
  .hero-left { flex: 0 0 50%; max-width: 50%; }
  .hero-topnav-links a { padding: 5px 10px; font-size: 12px; }
  .sonder-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hero-main { flex-direction: column; padding: 36px 24px 48px; gap: 32px; }
  .hero-topnav { padding: 14px 20px; }
  .hero-topnav-links { display: none; }
  .hero-left { flex: none; max-width: 100%; }
  .hero-right { width: 100%; }
  .hero-slider { max-width: 100%; }
  .hero-slider-dots { right: -26px; }
  .sonder-section { padding: 36px 20px 48px; }
  .sonder-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(28px, 9vw, 42px); }
  .hero-cta-group { flex-wrap: wrap; }
  .hero-slider-dots { display: none; }
  .sonder-grid { grid-template-columns: 1fr; }
}
