/* ============================================================
   BKD — Home Page Styles
   Hero · Über uns · Produktion · Qualität · Video · Anwendungen · Partner · Kontakt
   ============================================================ */

/* ====== HERO ====== */
.hero {
  position: relative;
  height: clamp(680px, 85vh, 860px);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/production/maschinenpark.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(10, 10, 40, 0.5) 40%, rgba(29, 29, 224, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.4vw, 56px);
  font-weight: 700;
  max-width: 1000px;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero h1 .accent {
  color: var(--bkd-accent);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 19px;
  font-weight: 400;
  max-width: 680px;
  margin-bottom: 44px;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ====== ÜBER UNS ====== */
.about-section {
  padding: 100px 0 100px;
  background: var(--bkd-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}

.about-grid h2 {
  font-size: clamp(30px, 3vw, 40px);
}

.about-grid h2 .blue {
  color: var(--bkd-blue);
}

.about-grid p {
  font-size: 17px;
  color: var(--bkd-text);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-grid p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bkd-blue-soft);
  border-radius: 8px;
  padding: 12px 32px;
  border: 1px solid var(--bkd-line);
}

.highlight-item {
  padding: 28px 0;
  border-right: 1px solid var(--bkd-line);
  padding-left: 28px;
}

.highlight-item:first-child {
  padding-left: 0;
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  color: var(--bkd-blue);
  margin-bottom: 14px;
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-label {
  font-size: 11px;
  color: var(--bkd-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.highlight-value {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--bkd-ink);
  line-height: 1.1;
}

.highlight-value small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bkd-muted);
  margin-top: 4px;
}

/* ====== PRODUKT-GRID ====== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--bkd-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--bkd-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(29, 29, 224, 0.08);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bkd-blue-soft);
}

.product-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-card .num {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--bkd-blue);
  letter-spacing: 0.08em;
}

.product-card h3 {
  font-size: 21px;
  color: var(--bkd-ink);
}

.product-card p {
  font-size: 14.5px;
  color: var(--bkd-muted);
  line-height: 1.65;
}

/* ====== WEITERES PORTFOLIO ====== */
.extra-portfolio {
  margin-top: 52px;
}

.extra-portfolio-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bkd-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.extra-portfolio-head::before,
.extra-portfolio-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bkd-line);
}

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

.extra-item {
  background: var(--bkd-soft);
  border: 1px solid var(--bkd-line);
  border-left: 3px solid var(--bkd-blue);
  border-radius: 0 4px 4px 0;
  padding: 16px 18px;
}

.extra-name {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--bkd-ink);
  display: block;
  margin-bottom: 6px;
}

.extra-desc {
  font-size: 13px;
  color: var(--bkd-muted);
  line-height: 1.55;
  margin: 0;
}

/* ====== QUALITÄT ====== */
.quality-section {
  background: var(--bkd-soft);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.quality-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.quality-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.quality-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quality-badge svg {
  width: 28px;
  height: 28px;
  color: var(--bkd-blue);
}

.quality-badge-text {
  line-height: 1.2;
}

.quality-badge-text .big {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--bkd-ink);
  font-size: 14px;
}

.quality-badge-text .small {
  font-size: 11px;
  color: var(--bkd-muted);
}

.quality-badge-inline {
  display: none;
  margin: 24px 0 8px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--bkd-line);
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.quality-badge-inline svg {
  width: 28px;
  height: 28px;
  color: var(--bkd-blue);
  flex-shrink: 0;
}

.quality-text h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 22px;
}

.quality-text h2 .blue {
  color: var(--bkd-blue);
}

.quality-text > p {
  font-size: 16px;
  color: var(--bkd-text);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 540px;
}

.quality-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.qstep {
  background: #fff;
  padding: 18px 20px;
  border-radius: 4px;
  border-left: 3px solid var(--bkd-blue);
}

.qstep .step-num {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: var(--bkd-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.qstep .step-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--bkd-ink);
  font-size: 15px;
  margin-bottom: 2px;
}

.qstep .step-desc {
  font-size: 13px;
  color: var(--bkd-muted);
  line-height: 1.5;
}

/* ====== VIDEO ====== */
.video-section {
  padding: 100px 0;
}

.video-head {
  text-align: center;
  margin-bottom: 50px;
}

.video-head h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  max-width: 720px;
  margin: 0 auto 14px;
}

.video-head h2 .blue {
  color: var(--bkd-blue);
}

.video-head p {
  color: var(--bkd-muted);
  max-width: 600px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bkd-dark);
  cursor: pointer;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform .4s ease;
}

.video-frame:hover img {
  transform: scale(1.03);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all .3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.video-frame:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.video-play svg {
  width: 32px;
  height: 32px;
  color: var(--bkd-blue);
  margin-left: 4px;
}

.video-caption {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  color: #fff;
  z-index: 2;
}

.video-caption .vc-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bkd-accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.video-caption .vc-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.video-frame--soon {
  cursor: default;
}

.video-frame--soon:hover img {
  transform: none;
}

.video-frame--soon .video-play {
  display: none;
}

.video-frame--soon .video-caption {
  display: none;
}

.video-soon-text {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vst-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bkd-accent);
}

.vst-main {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ====== ANWENDUNGEN ====== */
.parts-section {
  background: var(--bkd-soft);
}

.parts-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.parts-head h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  margin-bottom: 16px;
}

.parts-head h2 .blue {
  color: var(--bkd-blue);
}

.parts-head p {
  color: var(--bkd-muted);
  font-size: 16px;
}

.parts-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.part-tile {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--bkd-line);
  transition: all .25s ease;
}

.part-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(29, 29, 224, 0.1);
  border-color: var(--bkd-blue);
}

.part-img {
  width: 100%;
  object-fit: contain;
  background: var(--bkd-soft);
}

.part-info {
  padding: 14px 16px 18px;
}

.part-info .pname {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--bkd-ink);
  margin-bottom: 2px;
}

.part-info .pcat {
  font-size: 11.5px;
  color: var(--bkd-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ====== PARTNER ====== */
.partner-section {
  padding: 100px 0;
}

.partner-head {
  text-align: center;
  margin-bottom: 50px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.partner-head h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  margin-bottom: 16px;
}

.partner-head h2 .blue {
  color: var(--bkd-blue);
}

.partner-head p {
  color: var(--bkd-muted);
  font-size: 16px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.partner-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  background: #fff;
  border: 1px solid var(--bkd-line);
  border-radius: 8px;
  padding: 32px 28px;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bkd-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.partner-card:hover {
  border-color: var(--bkd-blue);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(29, 29, 224, 0.1);
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-logo-box {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.partner-logo-box img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.partner-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--bkd-ink);
  font-size: 17px;
  margin-top: 4px;
}

.partner-role {
  font-size: 13px;
  color: var(--bkd-muted);
  line-height: 1.5;
  flex: 1;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bkd-blue);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--bkd-line);
  transition: gap .2s ease;
}

.partner-link svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.partner-card:hover .partner-link {
  gap: 10px;
}

.partner-card:hover .partner-link svg {
  transform: translateX(2px);
}

/* ====== KONTAKT ====== */
.contact-section {
  background: var(--bkd-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 12px;
}

.contact h2 .blue {
  color: var(--bkd-blue);
}

.contact .lead {
  color: var(--bkd-muted);
  margin-bottom: 32px;
  max-width: 440px;
}

.quick-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.qc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--bkd-line);
  border-radius: 6px;
  transition: all .2s;
}

.qc-item:hover {
  border-color: var(--bkd-blue);
  background: var(--bkd-blue-soft);
}

.qc-icon {
  width: 42px;
  height: 42px;
  background: var(--bkd-blue-soft);
  color: var(--bkd-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.qc-icon svg {
  width: 18px;
  height: 18px;
}

.qc-text {
  line-height: 1.3;
}

.qc-text .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bkd-muted);
  font-weight: 600;
}

.qc-text .val {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--bkd-ink);
  font-size: 16px;
  margin-top: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bkd-ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bkd-line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14.5px;
  background: #fff;
  transition: border-color .2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--bkd-blue);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-dsgvo { margin-bottom: 8px; }
.dsgvo-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.dsgvo-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--bkd-blue);
  cursor: pointer;
}
.dsgvo-label span {
  font-size: 13px;
  color: var(--bkd-muted);
  line-height: 1.5;
}
.dsgvo-label a {
  color: var(--bkd-blue);
  text-decoration: underline;
}

.form-status {
  font-size: 14px;
  padding: 0;
  margin-bottom: 0;
  min-height: 0;
  transition: all 0.2s;
}
.form-status.success {
  color: #1a7a4a;
  background: #edfaf3;
  border: 1px solid #a3dfc0;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.form-status.error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

/* ====== MAP ====== */
.map-wrap {
  background: #e8eef8;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  position: relative;
  isolation: isolate;
}

#bkd-map {
  width: 100%;
  height: 100%;
}

.bkd-pin {
  width: 46px;
  height: 46px;
  background: var(--bkd-blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(29, 29, 224, 0.4);
  overflow: hidden;
}

.bkd-pin span {
  transform: rotate(45deg);
  display: block;
  line-height: 0;
}

.bkd-pin img {
  width: 45px;
  height: auto;
  display: block;
}

/* ====== RESPONSIVE — HOME ====== */
@media (max-width: 900px) {
  .video-play {
    width: 64px;
    height: 64px;
  }

  .video-play svg {
    width: 24px;
    height: 24px;
  }

  .video-caption {
    bottom: 18px;
    left: 20px;
    right: 20px;
  }

  .video-caption .vc-title {
    font-size: 16px;
  }

  .quality-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .partner-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }

  .parts-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .quality-steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
    padding: 8px 24px;
  }

  .highlight-item {
    padding-left: 20px;
    padding-right: 20px;
  }

  .highlight-item:nth-child(odd) {
    padding-left: 0;
  }

  .highlight-item:nth-child(2) {
    border-right: none;
  }

  .highlight-item:nth-child(1),
  .highlight-item:nth-child(2) {
    border-bottom: 1px solid var(--bkd-line);
  }

  .highlight-item:nth-child(3) {
    padding-left: 0;
  }

  .quality-img-wrap {
    display: none;
  }

  .quality-badge-inline {
    display: flex;
  }

  .quality-grid {
    display: block;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .partner-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .parts-gallery {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid var(--bkd-line);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .highlight-item:last-child {
    border-bottom: none;
  }
}

/* ====== PRODUKT-DETAIL-BUTTON ====== */
.product-detail-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--bkd-blue);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: gap 0.2s ease, opacity 0.2s ease;
  letter-spacing: 0.01em;
}
.product-detail-btn:hover { gap: 9px; }

/* ====== PRODUKT-MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 30, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
body.modal-open { overflow: hidden; }

.modal-box {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 950px;
  max-height: 88vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  backdrop-filter: blur(4px);
}
.modal-close:hover { background: #fff; }

/* Slider — linke Spalte */
.modal-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  flex: 0 0 58%;
  background: var(--bkd-soft);
  min-height: 320px;
}
.modal-slides {
  display: flex;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 5;
  backdrop-filter: blur(4px);
}
.slider-btn:hover { background: #fff; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Text — rechte Spalte */
.modal-body {
  flex: 1;
  padding: 36px 32px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.modal-num {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bkd-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bkd-ink);
  margin-bottom: 14px;
  line-height: 1.25;
}
.modal-text {
  color: var(--bkd-muted);
  line-height: 1.72;
  font-size: 0.9rem;
}

.modal-areas {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--bkd-line);
  margin-top: 20px;
}
.modal-areas-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--bkd-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.modal-areas ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.modal-areas ul li {
  background: var(--bkd-blue-soft);
  color: var(--bkd-ink);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1px solid var(--bkd-line);
}

/* Mobile: einspaltig */
@media (max-width: 640px) {
  .extra-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    flex-direction: column;
    max-height: 92vh;
    overflow-y: auto;
    max-width: 100%;
    border-radius: 12px;
  }
  .modal-slider-wrap {
    flex: none;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16 / 9;
    min-height: unset;
  }
  .modal-body {
    padding: 22px 20px 28px;
    overflow-y: visible;
  }
  .modal-title { font-size: 1.2rem; }
  .slider-btn { width: 36px; height: 36px; }
}
