/* ============================================================
   Pages – Page-specific Styles
   ============================================================ */

/* --- Homepage: carousel section adjustments --- */
.home-carousel {
  margin-top: calc(var(--header-height) * -1);
}

/* --- Homepage: teaser grid below carousel --- */
.home-teasers {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.home-teasers__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.home-teasers__heading p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-top: .5rem;
}

/* --- Section intro --- */
.section-intro {
  max-width: none;
  margin: 0 auto 3rem;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

.section-intro .subtitle {
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* --- Kontakt page --- */
.contact-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

/* --- Video embed --- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Subpage content --- */
.plain-page {
  padding-top: var(--header-height);
}

.error-page {
  background: var(--color-dark);
}

.error-404 {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--color-dark);
}

.error-404__bg,
.error-404__shade {
  position: absolute;
  inset: 0;
}

.error-404__bg {
  background-image: url("../img/naeotom-alpha-prime-hero.jpg");
  background-position: center;
  background-size: cover;
  opacity: .58;
}

.error-404__shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .72) 48%, rgba(10, 10, 10, .28) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .12) 58%, rgba(10, 10, 10, .62) 100%);
}

.error-404__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding-top: clamp(4rem, 10vw, 7rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.error-404__logo {
  display: inline-flex;
  margin-bottom: clamp(3rem, 8vw, 5rem);
}

.error-404__logo img {
  width: clamp(170px, 24vw, 260px);
  height: auto;
}

.error-404__kicker {
  margin: 0 0 1rem;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.error-404 h1 {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  line-height: 1;
}

.error-404__text {
  max-width: 620px;
  margin: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.page-content {
  padding: 0;
}

.page-content h2 {
  margin-bottom: 1rem;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.page-content p {
  max-width: none;
}

.page-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.page-content ul,
.page-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: .5rem;
}

/* --- Condition intro visuals --- */
.condition-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.condition-intro__text h2 {
  margin-bottom: 1rem;
}

.condition-intro__visual {
  margin: 0;
}

.condition-intro__visual img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .08);
}

@media (max-width: 820px) {
  .condition-intro {
    grid-template-columns: 1fr;
  }

  .condition-intro__visual {
    order: -1;
  }
}

/* --- Clinical example figures --- */
.clinical-examples {
  margin-top: 2.5rem;
}

.clinical-examples h3 {
  margin-bottom: 1.25rem;
}

.clinical-examples figure {
  margin: 0;
}

.clinical-examples figure img {
  width: 100%;
  border-radius: var(--radius);
  margin: 0;
}

.clinical-examples figcaption {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: .5rem;
  text-align: center;
}

/* --- Diagnostic content blocks --- */
.diagnostic-image {
  margin: 2rem 0;
}

.diagnostic-image img {
  width: 100%;
  border-radius: var(--radius);
  margin: 0;
}

.diagnostic-image--device img {
  width: min(100%, 760px);
  max-height: 620px;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

.diagnostic-image figcaption {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: .5rem;
  text-align: center;
}

.diagnostic-image--compact {
  max-width: 48%;
  margin-right: auto;
  margin-left: auto;
}

.diagnostic-benefits {
  margin: 2.5rem 0;
}

.diagnostic-benefits > h3 {
  margin-bottom: 1.25rem;
}

.diagnostic-benefits .card {
  height: 100%;
}

.diagnostic-benefits .card__body {
  height: 100%;
}

.diagnostic-benefits .card__body h3 {
  margin-top: 0;
}

/* --- CT campaign visual --- */
.ct-campaign-visual {
  margin: 2rem 0;
}

.ct-campaign-visual img {
  width: 100%;
  aspect-ratio: 32 / 7;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: var(--radius);
}

/* --- CT benefits --- */
.ct-benefits {
  margin-top: 2.5rem;
}

.ct-benefits > h3 {
  margin-bottom: 1.25rem;
}

.ct-benefits .card {
  height: 100%;
}

.ct-benefits .card__body {
  height: 100%;
}

.ct-benefits .card__body h3 {
  margin-top: 0;
}

.ct-benefits .card__body p {
  font-size: .95rem;
}

/* --- Höhenvorbereitung: long text --- */
.hoehen-content p {
  max-width: none;
  margin-bottom: 1.25rem;
}
