/* ============================================================
   holzblasinstrumente.css
   Ergänzungs-CSS für die Unterseite Holzblasinstrumente
   Baut auf main.min.css auf – keine Stile doppelt definiert
   ============================================================ */

/* --- Typografie-Ergänzungen -------------------------------- */

*{
  box-sizing: border-box;
}

html, body{
  overflow-x: hidden;
}

h2 {
  font-family: "Atma", cursive;
  color: #f4b143;
  font-size: 2em;
  padding-bottom: 4%;
  line-height: 1.2em;
}

h5 {
  font-family: "Atma", cursive;
  color: #f4b143;
  font-size: 1.4em;
  padding-bottom: 8px;
  margin-top: 16px;
}

b {
  font-weight: 700;
}

article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Hero -------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 192/70;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(40, 32, 20, 0.72) 0%, rgba(40, 32, 20, 0.18) 100%);
  display: flex;
  align-items: flex-end;
  padding: 5% 6%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-text span {
  font-family: "Atma", cursive;
  font-size: 2.8em;
  color: #fff;
  background: #f4b143;
  padding: 8px 18px;
  display: inline-block;
  line-height: 1.2em;
  max-width: 520px;
}

.hero-sub {
  font-size: 1.1em !important;
  background: rgba(40, 32, 20, 0.82) !important;
  color: #f4d8ad !important;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* --- Breadcrumb ------------------------------------------- */

.breadcrumb-bar {
  background: #282014;
  padding: 10px 0;
}

.breadcrumb-inner {
  width: 68%;
  margin: auto;
  font-size: 13px;
  color: #f4d8ad;
  font-weight: 300;
}

.breadcrumb-inner a {
  color: #f4d8ad;
  text-decoration: none;
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

/* --- CTA Banner -------------------------------------------- */

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 4px;
  padding: 22px 28px;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}

.cta-banner--primary {
  background: #282014;
}

.cta-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-banner__text strong {
  color: #f4b143;
  font-family: "Atma", cursive;
  font-size: 1.15em;
}

.cta-banner__text span {
  color: #f4d8ad;
  font-size: 13px;
  font-weight: 300;
}

/* --- Buttons ----------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: #f4b143;
  color: #282014;
}

.btn--primary:hover {
  background: #e09b2a;
  color: #282014;
}

.btn--secondary {
  background: transparent;
  color: #f4b143;
  border: 2px solid #f4b143;
}

.btn--secondary:hover {
  background: #f4b143;
  color: #282014;
}

.btn--large {
  font-size: 15px;
  padding: 15px 32px;
}

.btn__icon {
  font-style: normal;
}

/* --- CTA-Gruppe (zwei Buttons nebeneinander) --------------- */

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 28px;
}

/* --- Bildplatzhalter --------------------------------------- */

.img-placeholder {
  margin: 0;
}

.img-placeholder__box {
  background: #ede7da;
  /* border: 2px dashed #c9b99a; */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.img-placeholder__label {
  font-size: 12px;
  color: #8c7a5e;
  text-align: center;
  padding: 16px;
  line-height: 1.5em;
  font-style: italic;
}

.img-placeholder figcaption {
  font-size: 12px;
  color: #8c7a5e;
  padding-top: 6px;
  font-style: italic;
  text-align: center;
}

.img-placeholder--wide {
  margin-top: 32px;
  width: 100%;
}

/* --- Image Grid (2 Spalten) -------------------------------- */

.image-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.image-grid--2col {
  grid-template-columns: 1fr 1fr;
}

/* --- Zwei-Spalten-Layout ----------------------------------- */

.two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.two-col__text {
  flex: 1 1 0;
}

.two-col__img {
  flex: 0 0 280px;
  max-width: 280px;
}

/* --- Instrument-Karten ------------------------------------ */

.instrument-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.instrument-card {
  background: #fdf8f2;
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 16px;
}

.instrument-card__img-wrap {
  background: #ede7da;
  /* border-bottom: 2px dashed #c9b99a; */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.instrument-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instrument-card__img-wrap .img-placeholder__label {
  font-size: 12px;
  color: #8c7a5e;
  padding: 12px;
  text-align: center;
}

.instrument-card h5 {
  padding: 12px 16px 4px;
  margin-top: 0;
}

.instrument-card p {
  padding: 0 16px;
  font-size: 13px;
}

/* --- Prozess-Schritte -------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fdf8f2;
  border-radius: 4px;
  padding: 18px 16px;
  position: relative;
}

.step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4b143;
  color: #282014;
  font-family: "Atma", cursive;
  font-size: 1.1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__content strong {
  display: block;
  color: #40341d;
  font-size: 14px;
  margin-bottom: 4px;
}

.step__content p {
  padding-bottom: 0;
  font-size: 13px;
  color: #6b5c3e;
}

/* --- Vorteile-Liste ---------------------------------------- */

.benefit-list {
  list-style: none;
  padding: 0 0 20px 0;
  margin-bottom: 0;
}

.benefit-list__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e8ddc9;
  font-size: 14px;
  color: #40341d;
  line-height: 1.5em;
}

.benefit-list__item:last-child {
  border-bottom: none;
}

.benefit-list__icon {
  color: #f4b143;
  font-weight: 700;
  font-size: 1.1em;
  flex-shrink: 0;
}

/* --- Zielgruppen-Badges ------------------------------------ */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef0d7;
  border: 1px solid #f4b143;
  border-radius: 30px;
  padding: 8px 20px;
}

.badge__icon {
  font-size: 1.1em;
}

.badge__label {
  font-size: 13px;
  color: #40341d;
  font-weight: 600;
}

/* --- Öffnungszeiten-Kasten --------------------------------- */

.openinghours {
  background: #fdf8f2;
  border-radius: 4px;
  padding: 24px 28px;
  margin-top: 32px;
  display: inline-block;
  min-width: 300px;
}

.openinghours h5 {
  margin-top: 0;
}

.openinghours__table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 12px;
}

.openinghours__table td {
  padding: 5px 16px 5px 0;
  font-size: 14px;
  color: #40341d;
  font-weight: 300;
  line-height: 1.5em;
  vertical-align: top;
}

.openinghours__table tr td:first-child {
  font-weight: 600;
  white-space: nowrap;
  width: 40px;
}

.openinghours__address {
  font-size: 13px;
  color: #8c7a5e;
  padding-top: 10px;
  border-top: 1px solid #e8ddc9;
  padding-bottom: 0;
}

/* --- Wrapper-Abstände -------------------------------------- */

.wrapper-1 + .wrapper-1,
.wrapper-2 + .wrapper-2 {
  margin-top: 0;
}

.wrapper-1{
  margin-top: 0;
}

/* --- Scroll-Animation -------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media screen and (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media screen and (max-width: 860px) {
  .two-col {
    flex-direction: column;
  }

  .two-col__img {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  .hero-text span {
    font-size: 2em;
  }
}

@media screen and (max-width: 768px) {
  .breadcrumb-inner {
    width: 90%;
  }

  .image-grid--2col {
    grid-template-columns: 1fr;
  }

  .instrument-cards {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }

  .cta-group {
    flex-direction: column;
  }

  .btn--large {
    width: 100%;
    justify-content: center;
  }

  .hero-text span {
    font-size: 1.6em;
  }

  .openinghours {
    width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 480px) {
  .hero-text span {
    font-size: 1.3em;
    padding: 6px 12px;
  }

  h2 {
    font-size: 1.6em;
  }

  .badge-row {
    gap: 8px;
  }
}

@media screen and (orientation: portrait){
  .hero {  
  aspect-ratio: 4/3;
}
}