/* ========================================
   Frank Sonnenschutz - Startseite
   Design tokens + Full responsive styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@400&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  --yellow-primary: #f8be00;
  --yellow-accent: #f4c243;
  --yellow-light: #fdebb3;
  --yellow-lighter: #fdebb2;
  --dark: #333336;
  --dark-text: #1d1d1f;
  --bg-light: #fafafa;
  --white: #ffffff;
  --black: #000000;
  --gray-border: #e5e7eb;
  --placeholder: #9ca3af;

  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Outfit', sans-serif;

  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-contact: 24px;
  --radius-input: 12px;
  --radius-btn: 18px;

  --max-width: 1440px;
  --content-padding: 90px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.section-label {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 0.196px;
  line-height: 32px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  color: var(--dark-text);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.3;
  letter-spacing: -0.374px;
}

/* --- Global Navigation --- */
.nav-global {
  background: var(--yellow-primary);
  height: 44px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-global .container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.nav-global__logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-global__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-global__link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 12px;
  color: var(--black);
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.nav-global__link:hover {
  background: var(--white);
  border-radius: var(--radius-pill);
  transform: none;
}

.nav-global__link--active {
  background: var(--white);
  border-radius: var(--radius-pill);
}

.nav-global__link--active:hover {
  background: var(--white);
}

/* Dropdown */
.nav-global__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-global__dropdown>.nav-global__link {
  transition: background 0.2s, border-radius 0.2s, transform 0.15s;
}

.nav-global__dropdown:hover>.nav-global__link {
  background: var(--white);
  border-radius: 14px 14px 0 0;
  transform: none;
}

.nav-global__dropdown-arrow {
  width: 8px;
  height: 5px;
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-global__dropdown:hover .nav-global__dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-global__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 4px 0 6px;
  min-width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 1000;
}

.nav-global__dropdown:hover .nav-global__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-global__dropdown-item {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: normal;
}

.nav-global__dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 0 0 14px 14px;
}

.nav-global__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--black);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.nav-global__phone:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.nav-global__phone-icon {
  width: 13px;
  height: 13px;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Product Category Sub-Nav --- */
.nav-products {
  background: #fdebb3;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-products::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1100px) {
  .nav-products {
    display: none;
  }
}

.nav-products__list {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  opacity: 0.75;
  height: 110px;
  padding: 0 var(--content-padding);
}

.nav-products__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 17px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-products__item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-products__icon {
  width: 24px;
  height: 22px;
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
  display: block;
}

.nav-products__name {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: var(--black);
  white-space: pre-line;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 24px; /* Fixed height for 2 lines of text */
}

.nav-products__divider {
  width: 1px;
  height: 50.5px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  align-self: center;
}

/* --- Announcement Banner --- */
.announcement {
  background: var(--bg-light);
  padding: 24px 0;
  text-align: center;
}

.announcement p {
  font-size: 14px;
  line-height: 1.3;
  color: var(--dark-text);
}

.announcement strong {
  font-weight: 700;
}

/* --- Hero Section --- */
.hero {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--white);
}

.hero__content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.hero__heading-col {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
}

.hero__subheading-col {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  padding-top: 10px;
}

.hero__heading {
  font-weight: 700;
  font-size: 60px;
  line-height: 1.15;
  color: var(--dark-text);
}

.hero__subheading {
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  color: var(--dark-text);
}

.hero__caption {
  font-weight: 300;
  font-size: 16px;
  line-height: 32px;
  margin-top: 16px;
  color: var(--black);
  letter-spacing: 0.196px;
}

.hero__caption u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__image-wrapper {
  width: 100%;
  margin-top: 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1260 / 650;
}

/* --- Promotion Banner --- */
.promo-section {
  padding-top: 40px;
  padding-bottom: 20px;
}

.promo-banner {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  position: relative;
  height: 324px;
}

.promo-banner__text {
  flex: 0 0 55%;
  padding: 43px 46px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.promo-banner__label {
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.196px;
  margin-bottom: 4px;
  color: var(--black);
}

.promo-banner__heading {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 0;
  max-width: 606px;
}

.promo-banner__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--yellow-accent);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.374px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
  margin-top: auto;
}

.promo-banner__cta:hover {
  background: var(--yellow-primary);
  transform: translateY(-2px);
}

.promo-banner__image-side {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 43px 40px;
  position: relative;
}

.promo-banner__brand {
  background: var(--white);
  border-radius: var(--radius-input);
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.promo-banner__brand img {
  max-width: 386px;
  width: 100%;
  object-fit: contain;
}

/* --- Category overview --- */
.categories {
  padding: 60px 0;
  background: var(--white);
}

.categories__header {
  margin-bottom: 40px;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 618 / 650;
  cursor: pointer;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: scale(1.01);
}

.category-card--dark {
  background: var(--dark);
}

.category-card__image-gradient {
  position: absolute;
  top: 98px;
  left: 0;
  width: 100%;
  height: 96px;
  background: linear-gradient(to bottom, var(--bg-light) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.category-card--dark .category-card__image-gradient {
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 100%);
}

.category-card__title {
  position: absolute;
  top: 59px;
  transform: translateY(-50%);
  left: 32px;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0.196px;
  color: var(--black);
  max-width: 317px;
  z-index: 2;
}

.category-card--dark .category-card__title {
  color: var(--white);
}

.category-card__image {
  position: absolute;
  top: 98px;
  left: 0;
  width: 100%;
  height: calc(100% - 98px);
  object-fit: cover;
  z-index: 0;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: var(--radius-card);
}

.category-card.is-active .category-card__overlay {
  transform: translateY(0);
}

.category-card__overlay-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.196px;
  color: var(--white);
  max-width: 400px;
  margin-bottom: auto;
}

.category-card__tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.category-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--yellow-primary);
  border-radius: var(--radius-pill);
  font-size: 24px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.196px;
  white-space: nowrap;
  align-self: flex-start;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.category-card__tag:hover {
  background: var(--yellow-accent);
  transform: scale(1.02);
}

.category-card__arrow {
  position: absolute;
  bottom: 18px;
  right: 21px;
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  /* Ensure above overlay */
  transition: background 0.2s, transform 0.3s;
}

.category-card__arrow:hover {
  background: var(--black);
  transform: scale(1.1);
}

.category-card__arrow img {
  width: 18px;
  height: 18px;
  filter: brightness(10);
  transition: transform 0.3s;
}

.category-card.is-active .category-card__arrow {
  background: var(--white);
}

.category-card.is-active .category-card__arrow img {
  filter: brightness(0);
  transform: rotate(45deg);
}

/* --- Magazin Section --- */
.magazin {
  background: var(--bg-light);
  padding: 46px 0 60px;
}

.magazin__header {
  margin-bottom: 40px;
}

.magazin__card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  position: relative;
  height: 480px;
}

.magazin__text {
  flex: 0 0 50%;
  padding: 57px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.magazin__heading {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: #1d1d1f;
  margin-bottom: 16px;
  max-width: 502px;
}

.magazin__description {
  font-size: 16px;
  line-height: 1.3;
  color: #1d1d1f;
  letter-spacing: -0.374px;
  max-width: 390px;
}

.magazin__image-side {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}

.magazin__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazin__badge {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 199px;
  height: 199px;
  z-index: 2;
}

.magazin__badge-circle {
  width: 100%;
  height: 100%;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magazin__badge-text {
  font-weight: 700;
  font-size: 60px;
  color: var(--white);
  letter-spacing: -1.2px;
}

.magazin__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--yellow-accent);
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.374px;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}

.magazin__cta:hover {
  background: var(--yellow-primary);
  transform: translateY(-2px);
}

.magazin__more {
  text-align: center;
  margin-top: 40px;
  font-weight: 300;
  font-size: 16px;
}

.magazin__more a {
  text-decoration: underline;
  color: var(--black);
}

.magazin__more a:hover {
  color: var(--dark);
}

/* --- Product Detail Grid --- */
.products-detail {
  padding: 80px 0;
  background: var(--white);
}

.products-detail__header {
  margin-bottom: 50px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.products-detail__header-left {
  flex: 1;
}

.products-detail__header-right {
  flex: 1;
}

.products-detail__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 1.6;
  max-width: 500px;
}

.products-detail__category {
  margin-bottom: 50px;
}

.products-detail__category-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.products-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 406 / 680;
  background: var(--bg-light);
  cursor: pointer;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 2;
  /* Background removed because we want the card's background to show through */
}

.product-card__header::after {
  content: '';
  position: absolute;
  top: 74px;
  /* Image starts exactly at 74px */
  left: 0;
  right: 0;
  height: 142px;
  /* ~23.4% of 606px fade */
  background: linear-gradient(to bottom, var(--bg-light) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  /* Place gradient immediately behind the text */
}

.product-card__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 5px;
}

.product-card__name {
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
  letter-spacing: 0.196px;
  line-height: 1.25;
}

.product-card__image {
  position: absolute;
  top: 74px;
  left: 0;
  width: 100%;
  height: calc(100% - 74px);
  object-fit: cover;
  z-index: 1;
  /* Image stays below the text and gradient */
}

.product-card__gradient {
  display: none;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: var(--radius-card);
}

.product-card.is-active .product-card__overlay {
  transform: translateY(0);
}

.product-card__overlay-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: auto;
}

.product-card__icon--light {
  filter: brightness(0) invert(1);
}

.product-card__overlay-name {
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.196px;
  line-height: 1.25;
}

.product-card__overlay-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-primary);
  color: var(--dark);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-weight: 500;
  font-size: 24px;
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.2s, background 0.2s;
}

.product-card__tag:hover {
  background: var(--yellow-accent);
  transform: scale(1.02);
}

.product-card__arrow {
  position: absolute;
  bottom: 21px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  /* Ensure it stays above the overlay */
  transition: background 0.2s, transform 0.3s;
}

.product-card__arrow:hover {
  background: var(--black);
  transform: scale(1.1);
}

.product-card__arrow img {
  width: 18px;
  height: 18px;
  filter: brightness(10);
  transition: transform 0.3s;
}

.product-card.is-active .product-card__arrow {
  background: var(--white);
}

.product-card.is-active .product-card__arrow img {
  filter: brightness(0);
  transform: rotate(45deg);
  /* To simulate a close action if it's a plus */
}

/* --- About Us / Über uns --- */
.about-us {
  background: var(--bg-light);
  padding: 77px 0 60px;
}

.about-us__header {
  margin-bottom: 48px;
}

.about-us__content {
  display: flex;
  gap: 90px;
  align-items: flex-start;
}

.about-us__image {
  flex: 0 0 404px;
  max-width: 404px;
  height: 467px;
  border-radius: 24px;
  overflow: hidden;
}

.about-us__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% top;
  display: block;
}

.about-us__text {
  flex: 1;
  max-width: 620px;
  padding-top: 92px;
}

.about-us__quote {
  font-weight: 400;
  font-size: 30px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 40px;
}

.about-us__author {
  font-style: italic;
  text-align: right;
}

.about-us__author-name {
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 4px;
}

.about-us__author-title {
  font-weight: 300;
  font-size: 24px;
}

.about-us__cta-wrapper {
  text-align: center;
  margin-top: 56px;
  margin-bottom: 70px;
}

.about-us__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: #f8be00;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-width: 179px;
  height: 46px;
  text-decoration: none;
}

.about-us__cta:hover {
  background: var(--yellow-accent);
  transform: translateY(-2px);
}

/* --- Contact Info Cards --- */
.contact-section {
  background: var(--white);
  padding: 60px 0 60px;
}

.contact-info {
  margin-top: 0;
}

.contact-info__title {
  font-weight: 700;
  font-size: 30px;
  color: #1d1d1f;
  letter-spacing: 0.128px;
  margin-bottom: 24px;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.contact-card {
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px 24px 32px;
  text-align: center;
  backdrop-filter: blur(2px);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 221px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #f4c243 0%, rgba(244, 194, 67, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  flex-shrink: 0;
}

.contact-card__icon img {
  width: 24px;
  height: 24px;
}

.contact-card__label {
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  margin-bottom: 12px;
  color: var(--black);
}

.contact-card__value {
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
}

.contact-card__value--muted {
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  line-height: 1.4;
}

.contact-card__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-primary, #11233b);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.contact-card__link:hover {
  opacity: 0.7;
}

/* --- Google Maps Embed Section --- */
.section-map {
  padding: 0 0 60px;
}

.section-map__wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.section-map__iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.contact-info__note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 20px;
}

/* --- Exhibition / Ausstellung --- */
.exhibition {
  background: var(--bg-light);
  padding: 80px 0;
}

.exhibition .section-label {
  color: var(--black);
}

.exhibition .section-title {
  color: var(--black);
}

.exhibition__header {
  margin-bottom: 40px;
}

.exhibition__image-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.exhibition__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1259 / 650;
  object-fit: cover;
}

.exhibition__tour-badge {
  position: absolute;
  top: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  backdrop-filter: blur(8px);
}

.exhibition__tour-icon {
  width: 36px;
  height: 36px;
}

.exhibition__tour-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.exhibition__tour-text span {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

.exhibition__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.exhibition__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}

.exhibition__btn:hover {
  transform: translateY(-2px);
}

.exhibition__btn--primary {
  background: var(--yellow-primary);
  color: var(--black);
  padding: 12px 24px;
}

.exhibition__btn--primary:hover {
  background: var(--yellow-accent);
}

.exhibition__btn--secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--yellow-primary);
  padding: 10px 22px;
  /* 12px minus 2px border */
}

.exhibition__btn--secondary:hover {
  background: var(--yellow-primary);
  color: var(--black);
}

/* --- Contact Form Section --- */
.contact-form-section {
  background: var(--yellow-lighter);
  padding: 88px var(--content-padding);
}

.contact-form-section__inner {
  max-width: 615px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-section__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.contact-form-section__subtitle {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.196px;
  line-height: 32px;
  color: var(--black);
  margin-bottom: 48px;
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__row {
  display: flex;
  gap: 24px;
}

.contact-form__group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  line-height: 20px;
}

.contact-form__input,
.contact-form__textarea {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--dark-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--yellow-accent);
  box-shadow: 0 0 0 3px rgba(244, 194, 67, 0.25);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--placeholder);
}

.contact-form__textarea {
  min-height: 98px;
  resize: vertical;
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-form__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--black);
  border-radius: 2.5px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--yellow-primary);
}

.contact-form__checkbox label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.contact-form__checkbox a {
  text-decoration: underline;
  color: var(--black);
}

.contact-form__submit {
  width: 100%;
  padding: 14px;
  background: var(--yellow-accent);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: #11233b;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 16px;
}

.contact-form__submit:hover {
  background: var(--yellow-primary);
  transform: translateY(-2px);
}

/* File Upload (Lebenslauf) */
.contact-form__file-group {
  margin-top: 8px;
}

.contact-form__file-label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form__file-drop {
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255, 255, 255, 0.5);
}

.contact-form__file-drop:hover {
  border-color: var(--yellow-accent);
  background: rgba(248, 190, 0, 0.04);
}

.contact-form__file-drop p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 14px;
  color: #6e6e73;
}

.contact-form__file-drop span {
  color: var(--yellow-accent);
  text-decoration: underline;
  font-weight: 500;
}

.contact-form__file-info {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 13px;
  color: var(--text-primary);
}

.contact-form__file-info.active {
  display: flex;
}

.contact-form__file-remove {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #86868b;
  padding: 0 4px;
}

/* --- Form Result Messages --- */
.form-result {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: formResultSlide 0.4s ease;
}

@keyframes formResultSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-result::before {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1.4;
}

.form-result--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.15));
  color: #14532d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-result--success::before {
  content: '✅';
}

.form-result--error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.15));
  color: #7f1d1d;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.form-result--error::before {
  content: '⚠️';
}

.form-result p {
  margin: 0;
  font-weight: 500;
}

.form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #11233b;
  border-radius: 50%;
  animation: formSpin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes formSpin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Footer --- */
.footer {
  background: var(--bg-light);
  padding: 60px 0 0;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer__column-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.footer__link {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--yellow-accent);
}

.footer__address {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 1.3;
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-text);
  transition: color 0.2s;
}

.footer__social-link:hover {
  color: var(--yellow-accent);
}

.footer__social-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark-text);
  flex-shrink: 0;
}

.footer__bottom {
  background: var(--yellow-primary);
  padding: 16px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: var(--dark-text);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 16px;
  color: var(--dark-text);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--black);
}

.footer__consent {
  font-size: 16px;
  color: var(--dark-text);
  cursor: pointer;
  margin-top: 30px;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --content-padding: 40px;
  }

  .section-title {
    font-size: 40px;
  }

  .hero__heading {
    font-size: 44px;
  }

  .hero__subheading {
    font-size: 20px;
    line-height: 28px;
  }

  .categories__grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-card__title {
    font-size: 26px;
  }

  .category-card__tag {
    font-size: 18px;
    padding: 8px 16px;
  }

  .products-detail__header {
    flex-direction: column;
    gap: 16px;
  }

  .products-detail__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-us__content {
    flex-direction: column;
    gap: 32px;
  }

  .about-us__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
  }

  .about-us__quote {
    font-size: 24px;
  }

  .about-us__author-name,
  .about-us__author-title {
    font-size: 20px;
  }

  .contact-info__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-section__title {
    font-size: 36px;
  }

  .promo-banner {
    flex-direction: column;
    height: auto;
  }

  .promo-banner__cta {
    margin-top: 24px;
  }

  .promo-banner__image-side {
    min-height: 180px;
  }

  .promo-banner__heading {
    font-size: 32px;
  }

  .magazin__card {
    flex-direction: column;
    height: auto;
  }

  .magazin__text {
    flex: none;
    padding: 36px;
  }

  .magazin__cta {
    margin-top: 24px;
  }

  .magazin__image-side {
    position: relative;
    min-height: 280px;
    flex: none;
  }

  .exhibition__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --content-padding: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-label {
    font-size: 14px;
  }

  /* Nav */
  .nav-global__links {
    display: none;
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    background: var(--yellow-primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 0 100px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-global__links.active {
    display: flex;
  }

  .nav-global__link {
    font-size: 20px;
    font-weight: 600;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  .nav-global__link:hover {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 0;
  }

  /* Dropdown accordion on mobile */
  .nav-global__dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-global__dropdown>.nav-global__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-global__dropdown:hover>.nav-global__link {
    background: none;
    border-radius: 0;
  }

  .nav-global__dropdown-arrow {
    width: 12px;
    height: 8px;
    margin-left: auto;
    opacity: 0.6;
    transition: transform 0.3s ease;
  }

  .nav-global__dropdown:hover .nav-global__dropdown-arrow {
    transform: none;
    opacity: 0.6;
  }

  .nav-global__dropdown.is-open .nav-global__dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  .nav-global__dropdown-menu {
    position: static;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.35s ease;
  }

  .nav-global__dropdown.is-open .nav-global__dropdown-menu {
    max-height: 500px;
  }

  .nav-global__dropdown-item {
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px 14px 44px;
    color: var(--black);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-global__dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .nav-global__phone {
    font-size: 11px;
    padding: 5px 12px;
    gap: 6px;
  }

  /* Hero */
  .hero__content {
    flex-direction: column;
    gap: 16px;
  }

  .hero__heading-col,
  .hero__subheading-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero__subheading-col {
    padding-top: 0;
  }

  .hero__heading {
    font-size: 34px;
  }

  .hero__subheading {
    font-size: 18px;
    line-height: 26px;
  }

  /* Categories */
  .categories__grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    aspect-ratio: 1 / 1.05;
  }

  .category-card__title {
    font-size: 24px;
  }

  .category-card__tag {
    font-size: 16px;
    padding: 6px 14px;
  }

  /* Products */
  .products-detail__grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    aspect-ratio: 1 / 1.4;
  }

  /* Magazin */
  .magazin__heading {
    font-size: 24px;
  }

  .magazin__cta {
    font-size: 15px;
    padding: 10px 20px;
  }

  .magazin__badge {
    width: 100px;
    height: 100px;
  }

  .magazin__badge-text {
    font-size: 32px;
  }

  /* About */
  .about-us__quote {
    font-size: 20px;
  }

  .about-us__author-name,
  .about-us__author-title {
    font-size: 18px;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
  }

  .contact-info__title {
    font-size: 24px;
  }

  /* Exhibition */
  .exhibition .section-title {
    font-size: 30px;
  }

  /* Contact form */
  .contact-form__row {
    flex-direction: column;
    gap: 24px;
  }

  .contact-form-section__title {
    font-size: 28px;
  }

  /* Footer */
  .footer__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 14px;
  }

  .footer__legal {
    gap: 16px;
  }

  /* Promo */
  .promo-banner__heading {
    font-size: 26px;
  }

  .promo-banner__text {
    padding: 24px;
  }

  .promo-banner__image-side {
    padding: 24px;
  }

  .promo-banner__brand {
    padding: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero__heading {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .contact-form-section__title {
    font-size: 24px;
  }

  .category-card__title {
    font-size: 20px;
  }
}

/* =========================================
   SUBPAGES (e.g. Lamellendächer)
========================================= */

/* --- Subpage Hero --- */
.hero-subpage {
  width: 100%;
  height: 625px;
  /* From Figma Node 2:115 */
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  /* Fallback */
}

.hero-subpage__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Subpage Hero: Google Maps Variant --- */
.hero-subpage--map {
  background: #e0e0e0;
}

.hero-subpage__map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

/* --- Subpage Intro / Title --- */
.subpage-intro {
  background: #fafafa;
  padding: 40px 0 80px 0;
  text-align: center;
}

.subpage-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.subpage-intro__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 60px;
  color: #1d1d1f;
  letter-spacing: -1.2px;
  margin: 0 0 24px 0;
  line-height: 1.1;
}

.subpage-intro__subtitle {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 24px;
  color: #1d1d1f;
  line-height: 32px;
  max-width: 561px;
  margin: 0 0 32px 0;
}

.subpage-intro__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments for Subpages */
@media (max-width: 768px) {
  .hero-subpage {
    height: 400px;
  }

  .subpage-intro__title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .subpage-intro__subtitle {
    font-size: 18px;
    line-height: 1.4;
  }

  .subpage-intro__actions {
    flex-direction: column;
    width: 100%;
  }

  .subpage-intro__actions .btn {
    width: 100%;
  }
}

/* --- Modular Text/Image Split Section --- */
.section-text-image {
  background: var(--white);
  padding: 100px 0;
}

.section-text-image__text-split {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

.section-text-image__two-col {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}

.section-text-image__headline {
  flex: 1;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 42px;
  line-height: normal;
  /* Adjusted to match Figma top-alignment */
  color: var(--black);
  margin: 0;
  max-width: 618px;
  /* Based on Figma spec */
}

.section-text-image__description {
  flex: 1;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 30px;
  line-height: normal;
  /* Adjusted to match Figma top-alignment */
  color: var(--black);
  margin: 0;
  max-width: 606px;
  /* Based on Figma spec */
}

.section-text-image__media {
  width: 100%;
}

.section-text-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .section-text-image {
    padding: 28px 0;
  }

  .section-text-image__text-split {
    margin-bottom: 32px;
  }

  .section-text-image__two-col {
    flex-direction: column;
    gap: 32px;
  }

  .section-text-image__headline {
    font-size: 32px;
    max-width: 100%;
  }

  .section-text-image__description {
    font-size: 20px;
    max-width: 100%;
  }
}

/* --- Text Block Sections --- */
.section-text-block {
  padding: 80px 0;
}

.text-block__heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 30px;
  line-height: normal;
  color: #1d1d1f;
  margin-bottom: 30px;
  max-width: 615px;
}

.text-block__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.text-block__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.text-block__subheading {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 30px;
  line-height: normal;
  color: black;
}

.text-block__body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #1d1d1f;
}

@media (max-width: 768px) {

  .text-block__columns,
  .text-block__row {
    grid-template-columns: 1fr;
  }

  .text-block__heading,
  .text-block__subheading {
    font-size: 24px;
  }

  .text-block__body {
    font-size: 18px;
  }
}

/* --- Modular Dark Comparison Section --- */
.section-comparison-dark {
  background: #363638;
  /* Based on Figma background */
  padding: 100px 0;
  color: var(--white);
}

.section-comparison-dark__header {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  justify-content: space-between;
  align-items: flex-start;
  /* Align to top instead of bottom */
}

.section-comparison-dark__header-left {
  flex: 1;
}

.section-comparison-dark__kicker {
  display: block;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 20px;
}

.section-comparison-dark__title {
  font-family: var(--font-primary);
  font-weight: 700;
  /* Inter Bold */
  font-size: 48px;
  line-height: normal;
  /* Adjusted to match Figma design */
  margin: 0;
  color: var(--white);
}

.section-comparison-dark__header-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 44px;
  /* Matches the top offset from the absolute Figma layout */
}

.section-comparison-dark__text {
  font-family: var(--font-primary);
  font-weight: 500;
  /* Inter Medium */
  font-size: 30px;
  line-height: normal;
  /* From Figma design */
  margin: 0;
  max-width: 616px;
  color: var(--white);
}

/* --- Comparison Slider --- */
.comparison-slider {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1254 / 705;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.comparison-slider__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.comparison-slider__before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  /* clip-path set inline and via JS */
}

.comparison-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.comparison-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-slider__handle-bars {
  display: flex;
  gap: 3px;
}

.comparison-slider__handle-bars span {
  display: block;
  width: 2.5px;
  height: 16px;
  background: #363638;
  border-radius: 2px;
}

.comparison-slider__label {
  position: absolute;
  top: 16.63px;
  /* From Figma */
  z-index: 4;
  color: white;
  font-family: var(--font-primary);
  font-weight: 500;
  /* Inter Medium */
  font-size: 16px;
  line-height: 1;
  /* Match Figma leading-[0] visually with padding */
  padding: 13.5px 23px;
  /* visual approximation of design padding for center text */
  border-radius: 13.017px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.9);
}

.comparison-slider__label--vorher {
  left: 13.37px;
  /* From Figma */
}

.comparison-slider__label--nachher {
  right: 13.37px;
}

@media (max-width: 768px) {
  .comparison-slider__label {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 8px;
    top: 10px;
  }
  .comparison-slider__label--vorher {
    left: 10px;
  }
  .comparison-slider__label--nachher {
    right: 10px;
  }
}

.section-comparison-dark__actions {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* ========================================
   Buttons (Global)
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 17px;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: #f8be00;
  color: black;
  border: none;
  padding: 10px 20px;
}

.btn--primary:hover {
  background: #e5a900;
}

.btn--outline {
  background: transparent;
  color: #1d1d1f;
  border: 2px solid #f8be00;
  padding: 13px 20px;
}

.btn--outline:hover {
  background: #f8be00;
  color: black;
}

@media (max-width: 768px) {
  .section-text-block .btn--outline {
    white-space: normal;
    text-align: left;
    font-size: 15px;
  }
}

.btn-pill-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8be00;
  color: black;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 17px;
  padding: 12px 21px;
  border-radius: 980px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-pill-yellow:hover {
  background: #e5a900;
}

@media (max-width: 900px) {
  .section-comparison-dark__header {
    flex-direction: column;
    gap: 32px;
  }

  .section-comparison-dark__title {
    font-size: 36px;
  }

  .section-comparison-dark__text {
    font-size: 20px;
  }
}

/* --- Modular Product Highlights (Subpage) --- */
.section-product-highlight {
  background: var(--white);
  padding: 100px 0;
}

.section-product-highlight__header {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
  /* Ensure top alignment */
  margin-bottom: 60px;
  /* From Figma design (100px padding, 60px gap roughly) */
}

.section-product-highlight__header-left {
  flex: 1;
  max-width: 618px;
}

.section-product-highlight__kicker {
  display: block;
  font-family: var(--font-primary);
  font-size: 16px;
  /* Matched visually to Figma (smaller than 30px text) */
  font-weight: 400;
  /* Regular instead of medium based on design */
  color: #1d1d1f;
  margin-bottom: 12px;
}

.section-product-highlight__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: normal;
  /* Adjusted from 1.1 to normal to match Figma */
  letter-spacing: -1.08px;
  /* -2% of 54px = -1.08px */
  color: #1d1d1f;
  margin: 0;
}

.section-product-highlight__header-right {
  flex: 1;
  max-width: 618px;
  display: flex;
  align-items: flex-start;
  /* Changed from flex-end to top-align with kicker */
  padding-top: 36px;
  /* Offset the kicker height + margin so the paragraph aligns with the title */
}

.section-product-highlight__text {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 30px;
  line-height: normal;
  /* Adjusted from 1.4 to normal to match Figma */
  color: var(--black);
  margin: 0;
}

.section-product-highlight__media {
  width: 100%;
  aspect-ratio: unset;
  height: auto;
  min-height: unset;
}

.section-product-highlight__media--taller {
  aspect-ratio: 1260 / 709;
}

.section-product-highlight__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Vertical Brustor Link Banner --- */
.section-brustor-banner {
  background: var(--white);
  padding: 60px 0 100px 0;
}

.brustor-banner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  border-radius: 28px;
  padding: 40px 46px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.brustor-banner:hover {
  transform: scale(0.99);
}

.brustor-banner__content {
  flex: 1;
  max-width: 600px;
}

.brustor-banner__kicker {
  display: block;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 12px;
}

.brustor-banner__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4;
  margin: 0;
  color: var(--black);
}

.brustor-banner__logo-wrapper {
  width: 507px;
  height: 237px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brustor-banner__logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.brustor-banner__logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* --- Two-column Hersteller Grid (2 sponsors side-by-side) --- */
.brustor-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.brustor-banner-grid .brustor-banner {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
}

.brustor-banner-grid .brustor-banner__content {
  max-width: 100%;
}

.brustor-banner-grid .brustor-banner__kicker {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 10px;
  border-top: 2px solid var(--gold);
  padding-top: 10px;
  display: inline-block;
}

.brustor-banner-grid .brustor-banner__title {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
}

.brustor-banner-grid .brustor-banner__logo-wrapper {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brustor-banner-grid .brustor-banner__logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brustor-banner-grid .brustor-banner__logo {
  max-width: 55%;
  max-height: 55%;
}

/* 3-column variant */
.brustor-banner-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.brustor-banner-grid--three .brustor-banner__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.brustor-banner-grid--three .brustor-banner__description {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
  margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .section-product-highlight {
    padding: 28px 0;
  }

  .section-product-highlight__header {
    flex-direction: column;
    gap: 32px;
  }

  .section-product-highlight__kicker {
    font-size: 18px;
  }

  .section-product-highlight__title {
    font-size: 36px;
  }

  .section-product-highlight__text {
    font-size: 20px;
  }

  .brustor-banner {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }

  .brustor-banner__logo-wrapper {
    width: 100%;
    height: 180px;
  }

  .brustor-banner-grid {
    grid-template-columns: 1fr;
  }

  .brustor-banner-grid--three {
    grid-template-columns: 1fr;
  }
}

/* --- Comparison Table Section --- */
.section-comparison-table {
  background: var(--white);
  padding: 100px 0;
}

.section-comparison-table__title {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--black);
  margin-bottom: 60px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-content: center;
}

.comparison-card {
  background: #fafafa;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.comparison-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.comparison-card__main-icon {
  height: 60px;
  width: auto;
  margin-bottom: 24px;
}

.comparison-card__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
  margin: 0;
  min-height: 60px;
  /* Keep titles aligned */
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-card__features {
  display: grid;
  grid-template-rows: repeat(6, auto);
  gap: 32px;
  flex: 1;
}

.comparison-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 180px;
  /* Align rows horizontally across grid */
}

.comparison-feature__icon-wrapper {
  width: 46px;
  height: 46px;
  background: #f8be00;
  /* Accent Yellow */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.comparison-feature__icon-wrapper img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.comparison-feature__text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

.comparison-feature--empty {
  justify-content: center;
  min-height: 180px;
}

.comparison-feature--empty span {
  font-family: var(--font-primary);
  font-size: 20px;
  color: #a0a0a0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison-feature {
    min-height: auto;
  }

  .comparison-feature--empty {
    display: none;
    /* Hide empty rows on mobile layout */
  }

  .section-comparison-table__title {
    font-size: 42px;
  }
}

/* --- FAQ Accordion Section --- */
.section-faq {
  background: #fafafa;
  padding: 100px 0;
}

.section-faq__title {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--black);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion__item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease;
}

.faq-accordion__item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.faq-accordion__header {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-accordion__question {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 20px;
  color: var(--black);
}

.faq-accordion__icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-accordion__item.is-open .faq-accordion__icon {
  transform: rotate(180deg);
}

.faq-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-accordion__item.is-open .faq-accordion__content {
  max-height: 500px;
  padding: 0 32px 24px 32px;
}

.faq-accordion__answer {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-faq__title {
    font-size: 36px;
  }

  .faq-accordion__header {
    padding: 20px;
  }

  .faq-accordion__question {
    font-size: 18px;
    padding-right: 16px;
  }
}

/* --- Testimonials Section --- */
.section-testimonials {
  background: var(--bg-light);
  /* #fafafa */
  padding: 100px 0;
}

.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--black);
  margin-bottom: 16px;
}

.testimonials__rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__stars {
  display: flex;
  gap: 4px;
}

.testimonials__stars img {
  width: 20px;
  height: 20px;
}

.testimonials__rating-text {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.testimonial-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
}

.testimonial-card__text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 32px;
  flex-grow: 1;
}

.testimonial-card__author-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
}

.testimonial-card__source {
  color: #777;
}

.testimonials__footer-note {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  color: #777;
  margin-top: 40px;
}

/* --- More Products Section --- */
.section-more-products {
  background: var(--white);
  padding: 100px 0;
}

.section-more-products__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--black);
  margin-bottom: 60px;
}

.more-products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.more-products__card {
  background: #fafafa;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.more-products__card-content {
  padding: 57px 113px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  /* Expand text area to match the tallest sibling card in the grid to align images */
}

.more-products__card-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.196px;
  color: #1d1d1f;
}

.more-products__card-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #1d1d1f;
  max-width: 391px;
}

.more-products__card-btn {
  background: #f4c243;
  color: black;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 17px;
  line-height: var(--line-height-21, 21px);
  letter-spacing: -0.374px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.more-products__card-btn:hover {
  background: #e5a900;
}

.more-products__card-image-wrapper {
  position: relative;
  width: 100%;
  height: 454px;
  flex-shrink: 0;
}

.more-products__card-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fafafa 0%, rgba(255, 255, 255, 0) 23.427%);
  z-index: 10;
  pointer-events: none;
}

.more-products__card-image-wrapper {
  overflow: hidden;
}

.more-products__card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Kaltwintergärten card image — translated & scaled for exact Figma crop */
.card-img--kaltwintergarten {
  width: 115.05%;
  height: 113.66%;
  left: -4.69%;
  top: -6.66%;
  transform: none;
}

/* Terrassenüberdachung card image — translated & scaled for exact Figma crop */
.card-img--terrassenueberdachung {
  width: 145.15%;
  height: 150.88%;
  left: -39.71%;
  top: 0.09%;
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .testimonials__grid,
  .more-products__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {

  .testimonials__title,
  .section-more-products__title {
    font-size: 36px;
  }

  .more-products__card-content {
    padding: 40px 30px;
  }
}

/* ========================================
   Magazin Subpage Styles
   ======================================== */

/* --- Magazin Page Hero --- */
.magazin-page-hero {
  background: var(--bg-light);
  padding: 60px 0 50px;
  text-align: center;
}

.magazin-page-hero__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1.2px;
  color: #1d1d1f;
  margin: 0 0 16px;
}

.magazin-page-hero__subtitle {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  color: #1d1d1f;
  max-width: 682px;
  margin: 0 auto 32px;
}

.magazin-page-hero__filters {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.magazin-page-hero__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 980px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 17px;
  color: #1d1d1f;
  text-decoration: none;
  border: 2px solid var(--yellow-accent);
  background: transparent;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.magazin-page-hero__filter:hover {
  background: rgba(248, 190, 0, 0.15);
  transform: translateY(-1px);
}

.magazin-page-hero__filter--active {
  background: var(--yellow-accent);
  border-color: var(--yellow-accent);
  color: var(--black);
}

.magazin-page-hero__filter--active:hover {
  background: #e5a900;
  border-color: #e5a900;
}

/* --- Magazin Content Layout --- */
.magazin-page-content {
  padding: 45px 0 60px;
}

.magazin-page-content__layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* --- Magazin Sidebar --- */
.magazin-sidebar {
  flex-shrink: 0;
  width: 277px;
  display: flex;
  flex-direction: column;
  gap: 33px;
  position: sticky;
  top: 60px;
}

.magazin-sidebar__block {
  background: #f9f9f9;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.magazin-sidebar__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: #111827;
  margin: 0;
}

/* Search */
.magazin-sidebar__search {
  position: relative;
}

.magazin-sidebar__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.magazin-sidebar__search-input {
  width: 100%;
  padding: 11px 18px 11px 42px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: #111827;
  background: var(--white);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.magazin-sidebar__search-input::placeholder {
  color: #6b7280;
}

.magazin-sidebar__search-input:focus {
  border-color: var(--yellow-accent);
}

/* Categories */
.magazin-sidebar__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.magazin-sidebar__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  color: #4b5563;
  cursor: pointer;
  transition: color 0.2s;
}

.magazin-sidebar__category:hover {
  color: #111827;
}

.magazin-sidebar__category--active {
  color: #111827;
  font-weight: 600;
}

.magazin-sidebar__count {
  background: #e5e7eb;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  color: #4b5563;
  line-height: 1;
  min-width: 20px;
  text-align: center;
}

/* Newsletter */
.magazin-sidebar__newsletter {
  background: #333;
  border-radius: 16px;
  padding: 25px;
  overflow: hidden;
  position: relative;
}

.magazin-sidebar__newsletter::after {
  content: '';
  position: absolute;
  bottom: -42px;
  right: -41px;
  width: 132px;
  height: 132px;
  background: #374151;
  opacity: 0.2;
  border-radius: 50%;
  pointer-events: none;
}

.magazin-sidebar__newsletter-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--white);
  margin: 0 0 8px;
}

.magazin-sidebar__newsletter-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #d1d5db;
  margin: 0 0 16px;
}

.magazin-sidebar__newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  background: var(--yellow-accent);
  border-radius: 980px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  z-index: 1;
}

.magazin-sidebar__newsletter-btn:hover {
  background: #e5a900;
  transform: translateY(-1px);
}

/* --- Magazin Articles --- */
.magazin-articles {
  flex: 1;
  min-width: 0;
}

/* Featured Article */
.magazin-article-card--featured {
  background: var(--bg-light);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
}

.magazin-article-card--featured .magazin-article-card__image-wrapper {
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  height: 397px;
  position: relative;
}

.magazin-article-card--featured .magazin-article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazin-article-card--featured .magazin-article-card__body {
  padding: 28px 30px 36px;
}

.magazin-article-card__title--featured {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 31px;
  line-height: 37px;
  color: #111827;
  margin: 0 0 16px;
}

/* Grid */
.magazin-articles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* Standard Article Card */
.magazin-article-card {
  background: var(--bg-light);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.magazin-article-card:hover {
  transform: translateY(-4px);
}

.magazin-article-card__image-wrapper {
  position: relative;
  height: 265px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.magazin-article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazin-article-card__tags {
  position: absolute;
  top: 12px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.magazin-article-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--black);
  background: var(--white);
  line-height: 16px;
}

.magazin-article-card__tag--highlight {
  background: var(--yellow-accent);
  font-weight: 700;
}

.magazin-article-card__body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.magazin-article-card__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #111827;
  margin: 0 0 8px;
}

.magazin-article-card__excerpt {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
  margin: 0 0 16px;
  flex: 1;
}

.magazin-article-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--yellow-accent);
  border-radius: 980px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 17px;
  color: var(--black);
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}

.magazin-article-card__cta:hover {
  background: #e5a900;
  transform: translateY(-1px);
}

/* --- Pagination --- */
.magazin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.magazin-pagination__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333336;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.magazin-pagination__arrow--prev {
  background: rgba(51, 51, 54, 0.5);
}

.magazin-pagination__arrow:hover {
  background: #1d1d1f;
}

.magazin-pagination__page {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
  text-decoration: none;
  transition: background 0.2s;
}

.magazin-pagination__page:hover {
  background: rgba(248, 190, 0, 0.2);
}

.magazin-pagination__page--active {
  background: var(--yellow-accent);
  color: var(--black);
}

.magazin-pagination__page--active:hover {
  background: #e5a900;
}

.magazin-pagination__dots {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

/* --- Magazin CTA Section --- */
.magazin-cta {
  background: #333;
  padding: 64px 0;
  overflow: hidden;
}

.magazin-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.magazin-cta__text {
  flex: 1;
}

.magazin-cta__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: var(--white);
  margin: 0 0 16px;
}

.magazin-cta__title--accent {
  color: #e6b82e;
}

.magazin-cta__description {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--white);
  margin: 0;
}

.magazin-cta__buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.magazin-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 980px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.magazin-cta__btn--primary {
  background: var(--yellow-accent);
  color: var(--black);
}

.magazin-cta__btn--primary:hover {
  background: #e5a900;
  transform: translateY(-1px);
}

.magazin-cta__btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--yellow-accent);
}

.magazin-cta__btn--secondary:hover {
  background: rgba(248, 190, 0, 0.1);
  transform: translateY(-1px);
}

/* --- Magazin Responsive --- */
@media (max-width: 1024px) {
  .magazin-page-content__layout {
    flex-direction: column;
  }

  .magazin-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    position: static;
  }

  .magazin-sidebar__block,
  .magazin-sidebar__newsletter {
    flex: 1;
    min-width: 250px;
  }

  .magazin-cta__content {
    flex-direction: column;
    text-align: center;
  }

  .magazin-cta__buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .magazin-page-hero__title {
    font-size: 42px;
  }

  .magazin-page-hero__subtitle {
    font-size: 18px;
    line-height: 26px;
  }

  .magazin-articles__grid {
    grid-template-columns: 1fr;
  }

  .magazin-article-card--featured .magazin-article-card__image-wrapper {
    height: 250px;
  }

  .magazin-article-card__title--featured {
    font-size: 24px;
    line-height: 30px;
  }

  .magazin-cta__title {
    font-size: 28px;
    line-height: 34px;
  }

  .magazin-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .magazin-page-hero__filters {
    gap: 10px;
  }

  .magazin-page-hero__filter {
    padding: 10px 18px;
    font-size: 15px;
  }
}

/* ========================================
   Featured Review Card
   ======================================== */
.featured-review {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.featured-review__body {
  display: flex;
  flex: 1;
}

.featured-review__content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.featured-review__author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.featured-review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.featured-review__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-review__name {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  color: #111827;
}

.featured-review__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-review__date {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  color: #6b7280;
}

.featured-review__stars {
  display: flex;
  gap: 2px;
}

.featured-review__stars img {
  width: 13px;
  height: 13px;
}

/* Review Text */
.featured-review__text-wrapper {
  position: relative;
  padding-left: 8px;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.featured-review--expanded .featured-review__text-wrapper {
  max-height: 1000px;
}

.featured-review__quote {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 36px;
  line-height: 36px;
  color: #f5c95a;
}

.featured-review__quote--open {
  position: absolute;
  left: -8px;
  top: -7px;
}

.featured-review__quote--close {
  display: inline;
  vertical-align: baseline;
  line-height: 28px;
  font-size: 28px;
}

.featured-review__text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--black);
  margin: 0;
  display: inline;
}

/* Read More */
.featured-review__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.featured-review__read-more {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  cursor: pointer;
}




.featured-review__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333336;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.featured-review__arrow:hover {
  background: #1d1d1f;
}

/* Image Side */
.featured-review__image-wrapper {
  width: 50%;
  max-height: 400px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.featured-review__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product Label Bar */
.featured-review__product-label {
  background: #f5c95a;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 12px;
  color: #111827;
  border-top: 1px solid #f3f4f6;
  border-radius: 0 0 24px 24px;
}

.featured-review__product-label strong {
  font-weight: 500;
}

.featured-review__product-label span {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .featured-review__body {
    flex-direction: column;
  }

  .featured-review__image-wrapper {
    width: 100%;
    max-width: none;
    height: 250px;
  }

  .featured-review__author-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ========================================
   Über uns Page – Team Section
   ======================================== */
.section-team {
  padding: 0 0 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card__image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__image {
  transform: scale(1.03);
}

.team-card__info {
  padding: 28px 28px 32px;
}

.team-card__name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.team-card__role {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  color: var(--yellow-primary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.team-card__description {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ========================================
   Über uns Page – Karriere Section
   ======================================== */
.section-karriere {
  padding: 0 0 80px 0;
}

.karriere-card {
  background: var(--yellow-lighter);
  border-radius: var(--radius-card);
  display: flex;
  overflow: hidden;
  min-height: 480px;
}

.karriere-card__content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.karriere-card__kicker {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 32px;
  margin-bottom: 8px;
  display: block;
  opacity: 0.6;
}

.karriere-card__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 42px;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 20px;
}

.karriere-card__text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
  max-width: 460px;
  margin-bottom: 32px;
}

.karriere-card__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.karriere-card__actions .btn--primary {
  background: var(--yellow-primary);
  color: var(--black);
}

.karriere-card__actions .btn--primary:hover {
  background: var(--yellow-accent);
}

.karriere-card__actions .btn--outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--black);
}

.karriere-card__actions .btn--outline:hover {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}

.karriere-card__visual {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.karriere-card__icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.karriere-card__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 28px 20px;
  transition: background 0.2s ease;
}

.karriere-card__icon-item:hover {
  background: rgba(0, 0, 0, 0.08);
}

.karriere-card__icon-item svg {
  stroke: var(--black);
}

.karriere-card__icon-item span {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 13px;
  color: var(--black);
}

@media (max-width: 900px) {
  .karriere-card {
    flex-direction: column;
  }

  .karriere-card__content {
    padding: 40px 28px;
  }

  .karriere-card__title {
    font-size: 32px;
  }

  .karriere-card__actions {
    flex-direction: column;
    width: 100%;
  }

  .karriere-card__actions .btn {
    width: 100%;
    text-align: center;
  }

  .karriere-card__visual {
    padding: 20px 28px 40px;
  }
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.benefit-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.benefit-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow-primary);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item__text {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #1d1d1f;
}

/* ========================================
   Blog Article Detail Page
   ======================================== */

/* Breadcrumb */
.article-breadcrumb {
  padding: 20px 0 0;
}

.article-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}

.article-breadcrumb__list a {
  color: #6b7280;
  transition: color 0.2s;
}

.article-breadcrumb__list a:hover {
  color: var(--dark-text);
}

.article-breadcrumb__separator {
  color: #d1d5db;
}

.article-breadcrumb__current {
  color: var(--dark-text);
  font-weight: 500;
}

/* Article Hero Image */
.article-hero {
  padding: 32px 0 0;
}

.article-hero__image-wrapper {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1260 / 520;
}

.article-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article Header */
.article-header {
  padding: 48px 0 32px;
}

.article-header__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-header__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--yellow-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-text);
  letter-spacing: 0.3px;
}

.article-header__tag--outline {
  background: transparent;
  border: 1px solid var(--gray-border);
  color: #6b7280;
}

.article-header__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark-text);
  margin-bottom: 20px;
  max-width: 900px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
  font-weight: 400;
}

.article-header__meta-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d1d5db;
}

/* Article Body */
.article-body {
  padding-bottom: 80px;
}

.article-body__layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.article-body__content {
  flex: 1;
  min-width: 0;
  max-width: 780px;
}

.article-body__content h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: var(--dark-text);
  margin: 48px 0 16px;
}

.article-body__content h3 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  color: var(--dark-text);
  margin: 36px 0 12px;
}

.article-body__content p {
  font-size: 17px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 20px;
}

.article-body__content p:first-child {
  font-size: 19px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 1.7;
}

.article-body__content ul,
.article-body__content ol {
  margin: 16px 0 24px;
  padding-left: 0;
}

.article-body__content ul li,
.article-body__content ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
  list-style: none;
}

.article-body__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-primary);
}

.article-body__content ol {
  counter-reset: article-counter;
}

.article-body__content ol li {
  counter-increment: article-counter;
}

.article-body__content ol li::before {
  content: counter(article-counter) '.';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--yellow-primary);
}

.article-body__content blockquote {
  border-left: 4px solid var(--yellow-primary);
  padding: 20px 32px;
  margin: 32px 0;
  background: #fffbeb;
  border-radius: 0 12px 12px 0;
}

.article-body__content blockquote p {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 0;
  font-style: italic;
}

.article-body__content img:not(.article-author__avatar) {
  width: 100%;
  border-radius: 16px;
  margin: 32px 0;
}

/* Article Sidebar */
.article-body__sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.article-sidebar__toc {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px;
}

.article-sidebar__toc-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.article-sidebar__toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-sidebar__toc-link {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  transition: color 0.2s;
  display: block;
}

.article-sidebar__toc-link:hover {
  color: var(--dark-text);
}

.article-sidebar__cta {
  background: var(--dark);
  border-radius: 16px;
  padding: 28px;
  margin-top: 24px;
  color: var(--white);
}

.article-sidebar__cta-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}

.article-sidebar__cta-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.article-sidebar__cta-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--yellow-primary);
  color: var(--dark-text);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.article-sidebar__cta-btn:hover {
  background: var(--yellow-accent);
  transform: translateY(-1px);
}

/* Author Box */
.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--gray-border);
  margin-top: 16px;
}

.article-author__avatar {
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
}

.article-author__info {
  flex: 1;
}

.article-author__name {
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-text);
}

.article-author__role {
  font-size: 14px;
  color: #6b7280;
  margin-top: 2px;
}

/* Related Articles */
.article-related {
  padding: 80px 0;
  background: var(--bg-light);
}

.article-related__title {
  font-weight: 700;
  font-size: 36px;
  color: var(--dark-text);
  margin-bottom: 40px;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Responsive Article Styles */
@media (max-width: 1024px) {
  .article-body__layout {
    flex-direction: column;
  }

  .article-body__sidebar {
    width: 100%;
    position: static;
    display: flex;
    gap: 24px;
  }

  .article-sidebar__toc,
  .article-sidebar__cta {
    flex: 1;
    margin-top: 0;
  }

  .article-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-header__title {
    font-size: 32px;
  }

  .article-body__content h2 {
    font-size: 24px;
  }

  .article-body__sidebar {
    flex-direction: column;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .article-hero__image-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }
}

/* =========================================
   BILDGENERATOR / VISUALISIERUNG SECTION
========================================= */
.section-visualisierung {
  background: #ffffff;
  padding: 60px 0 80px;
  color: #1d1d1f;
}

.viz-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.viz-header__kicker {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #b8860b;
  margin-bottom: 16px;
}

.viz-header__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: #1d1d1f;
  margin: 0 0 14px;
}

.viz-header__text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #6e6e73;
  margin: 0;
}

/* Two-column layout */
.viz-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Steps (left) */
.viz-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.viz-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.viz-step__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1d1d1f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
}

.viz-step__content {
  padding-top: 4px;
}

.viz-step__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  color: #1d1d1f;
  margin: 0 0 4px;
}

.viz-step__text {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.5;
  margin: 0;
}

/* Form Card */
.viz-form-card {
  background: #f5f5f7;
  border-radius: 20px;
  padding: 36px 32px;
}

/* Upload Drop Zone */
.viz-upload__drop-zone {
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 20px;
  background: #ffffff;
}

.viz-upload__drop-zone:hover,
.viz-upload__drop-zone--active {
  border-color: #f8be00;
  background: rgba(248, 190, 0, 0.06);
}

.viz-upload__drop-zone--has-file {
  border-color: rgba(0, 0, 0, 0.3);
  border-style: solid;
}

.viz-upload__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  opacity: 0.4;
  stroke: #1d1d1f;
}

.viz-upload__label {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.viz-upload__label span {
  color: #f8be00;
  text-decoration: underline;
  cursor: pointer;
}

.viz-upload__hint {
  font-family: var(--font-primary);
  font-size: 13px;
  color: #86868b;
  margin: 0;
}

/* File Info Bar */
.viz-upload__file-info {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: #1d1d1f;
}

.viz-upload__file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viz-upload__file-remove {
  background: none;
  border: none;
  color: #86868b;
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s;
}

.viz-upload__file-remove:hover {
  color: #ff6b6b;
}

/* Form Fields */
.viz-form__group {
  margin-bottom: 20px;
}

.viz-form__label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.viz-form__input {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: #1d1d1f;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.viz-form__input::placeholder {
  color: #86868b;
}

.viz-form__input:focus {
  outline: none;
  border-color: #f8be00;
}

/* Checkbox */
.viz-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.viz-form__checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #f8be00;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.viz-form__checkbox label {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.5;
}

.viz-form__checkbox label a {
  color: #f8be00;
  text-decoration: underline;
}

/* Submit Button */
.viz-form__submit {
  width: 100%;
  padding: 16px;
  background: #f8be00;
  color: #000;
  border: none;
  border-radius: 980px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.viz-form__submit:hover:not(:disabled) {
  background: #e5a900;
}

.viz-form__submit:active:not(:disabled) {
  transform: scale(0.98);
}

.viz-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner */
.viz-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: viz-spin 0.7s linear infinite;
}

@keyframes viz-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Result Messages */
.viz-result {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.5;
}

.viz-result--success {
  background: rgba(52, 199, 89, 0.15);
  color: #34c759;
  border: 1px solid rgba(52, 199, 89, 0.3);
}

.viz-result--error {
  background: rgba(255, 59, 48, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.viz-result p {
  margin: 0;
}

/* Steps Indicator */
.viz-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.viz-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.viz-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(248, 190, 0, 0.15);
  color: #f8be00;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viz-step__text {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #6e6e73;
}

/* Responsive */
@media (max-width: 768px) {
  .section-visualisierung {
    padding: 60px 0 80px;
  }

  .viz-header__title {
    font-size: 30px;
  }

  .viz-header__text {
    font-size: 16px;
  }

  .viz-form-card {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .viz-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .viz-steps {
    gap: 20px;
  }

  .viz-step__text {
    font-size: 12px;
  }

  .viz-upload__drop-zone {
    padding: 28px 16px;
  }
}