:root {
  --brand-yellow: #ffd500;
  --accent-color: #1a1a1a;
  --accent-bg-light: #fff8cc;
  --text: #222;
  --muted: #666;
  --line: #e6e6e6;
  --bg: #fff;
  --header-pad: 11vw;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.header-main {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--line);
}

.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--header-pad);
  background: var(--accent-color);
  color: #fff;
  font-size: 13px;
  gap: 16px;
}

.header-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.header-contact-link:hover {
  color: var(--brand-yellow);
}

.header-language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--header-pad);
  gap: 24px;
}

.header-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.header-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 8px;
  flex: 1;
  align-items: center;
}

.header-nav-links a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  color: #333;
}

.header-nav-links a.active,
.header-nav-links a:hover {
  color: var(--accent-color);
  background: var(--accent-bg-light);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-mobile-main {
  display: none;
}

main {
  min-height: 50vh;
}

.home-hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}

.home-slideshow,
.home-slide {
  position: absolute;
  inset: 0;
}

.home-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.home-slide.active {
  opacity: 1;
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.home-overlay-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--header-pad);
  color: #fff;
}

.home-slide-text img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
}

.slogan,
.footer-slogan,
.mobile-slogan {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.contact-info a {
  color: var(--brand-yellow);
  text-decoration: none;
}

.home-special-offers,
.home-consulting {
  display: flex;
  gap: 48px;
  padding: 72px var(--header-pad);
  align-items: center;
}

.home-special-offers-text,
.home-consulting-text {
  flex: 1.2;
}

.home-special-offers-image,
.home-consulting-image {
  flex: 0.8;
}

.home-special-offers-image img,
.home-consulting-image img,
.service-area-image img,
.founder-main-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.home-special-offers-list,
.service-list {
  padding-left: 18px;
}

.home-special-offers-caption {
  color: var(--muted);
  font-style: italic;
}

.home-team {
  padding: 24px var(--header-pad) 80px;
}

.home-team-title {
  text-align: center;
  margin-bottom: 36px;
}

.home-team-members {
  display: flex;
  gap: 28px;
}

.team-member {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
  box-shadow: var(--shadow);
  background: #111;
  color: #fff;
  text-align: center;
  padding: 32px 20px;
}

.team-member-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.team-member-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28);
}

.team-member-image,
.team-member h3,
.team-role,
.team-contact {
  position: relative;
  z-index: 1;
}

.team-member-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-yellow);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-contact {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-button,
.cart-button,
.item-cart-button,
.service-button,
.service-area-link,
.service-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

.contact-button:hover,
.cart-button:hover,
.item-cart-button:hover,
.service-button:hover,
.service-area-link:hover {
  background: #000;
  color: var(--brand-yellow);
}

.footer-main {
  background: var(--accent-color);
  color: #eee;
  padding: 48px var(--header-pad) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-section h4 {
  color: var(--brand-yellow);
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--brand-yellow);
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding: 16px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--brand-yellow);
}

.products-container,
.item-container,
.cart-container,
.impressum-container,
.about-main,
.service-main {
  padding: 32px var(--header-pad) 72px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.products-filters,
.search-wrapper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.products-filters select,
.search-wrapper input,
.quantity-input,
.item-quantity-input,
.cart-quantity-input {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

.search-container {
  margin: 24px 0 32px;
}

.search-wrapper {
  position: relative;
  max-width: 520px;
}

.search-wrapper input {
  width: 100%;
  padding-right: 44px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.product-card-link {
  text-decoration: none;
  color: inherit;
}

.product-image {
  height: 210px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img,
.item-main-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.item-main-image img {
  height: 420px;
  border-radius: var(--radius);
}

.product-info,
.product-purchase {
  padding: 16px;
}

.product-title {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.product-subtitle,
.item-subtitle,
.product-brand,
.product-model,
.item-brand,
.item-model {
  color: var(--muted);
  margin: 0;
}

.product-details,
.item-meta,
.item-brand-model,
.price-shipping-container,
.item-price-container,
.product-cart-actions,
.item-cart-section,
.item-purchase-section {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.in-stock,
.item-stock-status.in-stock {
  color: #1b7a3d;
  font-weight: 600;
  font-size: 0.9rem;
}

.product-price,
.item-price {
  font-size: 1.35rem;
  font-weight: 700;
}

.shipping-cost,
.item-shipping {
  color: #1b7a3d;
  font-size: 0.85rem;
}

.quantity-selector,
.item-quantity,
.cart-quantity-selector {
  display: flex;
  align-items: center;
}

.quantity-btn,
.item-quantity-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.quantity-input,
.item-quantity-input {
  width: 52px;
  text-align: center;
  border-radius: 0;
}

.item-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
}

.item-breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
}

.item-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.item-title {
  margin: 0 0 8px;
}

.item-description {
  margin-top: 28px;
  color: #444;
}

.cart-title {
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-summary {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.cart-checkout {
  background: var(--brand-yellow);
  color: #111;
  border: 0;
  padding: 14px 22px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.service-header {
  min-height: 280px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 48px var(--header-pad);
}

.service-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px var(--header-pad) 12px;
}

.highlight-box,
.service-area,
.service-team-member,
.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.service-areas {
  padding: 24px var(--header-pad) 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-area {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.service-area.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.service-area.reverse .service-area-content {
  order: 2;
}

.service-team {
  padding: 12px var(--header-pad) 48px;
  text-align: center;
}

.service-member-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
}

.service-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.founder-role {
  color: var(--muted);
  font-weight: 600;
}

.journey-timeline {
  position: relative;
  padding-left: 24px;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-yellow);
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
}

.timeline-marker {
  position: absolute;
  left: -22px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--brand-yellow);
  border-radius: 50%;
}

.service-contact-banner {
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}

.service-contact-button-phone,
.service-contact-button-mail {
  background: var(--brand-yellow);
  color: #111;
}

.notification.success {
  background: #1b7a3d;
}

.img-fallback {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a1a, #333);
  color: var(--brand-yellow);
  font-weight: 700;
  text-align: center;
  padding: 16px;
}

.product-card.is-hidden {
  display: none;
}

@media (max-width: 1400px) {
  .header-main {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-pad: 20px;
  }

  .home-special-offers,
  .home-consulting,
  .home-team-members,
  .item-content,
  .service-area,
  .service-area.reverse,
  .founder-content,
  .footer-content,
  .service-highlights {
    display: flex;
    flex-direction: column;
  }

  .service-area.reverse .service-area-content {
    order: 0;
  }
}
