:root {
  --ew-ink: #17333a;
  --ew-deep: #10282f;
  --ew-copper: #a86537;
  --ew-copper-dark: #824826;
  --ew-cream: #f5efe4;
  --ew-sand: #e8dbc8;
  --ew-mist: #edf1ef;
  --ew-white: #fffdf8;
}

.ew-page {
  color: #263536;
  background: var(--ew-white);
}

.ew-breadcrumbs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  font-size: .92rem;
  color: #5b6867;
}

.ew-breadcrumbs a { color: var(--ew-copper-dark); }
.ew-breadcrumbs span { margin: 0 .45rem; }

.ew-hero {
  position: relative;
  overflow: hidden;
  background: var(--ew-deep);
  color: white;
}

.ew-hero--hub {
  min-height: min(68vh, 720px);
  display: grid;
  align-items: end;
}

.ew-hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.ew-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 32, 38, .94) 0%, rgba(10, 32, 38, .72) 48%, rgba(10, 32, 38, .18) 100%);
}

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

.ew-hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 4vw, 2.5rem) clamp(3.5rem, 7vw, 6rem);
}

.ew-hero__content > * { max-width: 760px; }
.ew-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--ew-copper-dark); }
.ew-hero .ew-eyebrow,
.ew-article-hero .ew-eyebrow,
.ew-cta .ew-eyebrow,
.home-erlebniswelt-entry .ew-eyebrow { color: #e8c7a8; }
.ew-hero h1 { margin: .55rem 0 1rem; font-size: clamp(2.3rem, 6vw, 5rem); line-height: 1.02; color: white; }
.ew-hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; }
.ew-hero .button { margin-top: .75rem; }

.ew-article-hero {
  background: linear-gradient(135deg, var(--ew-deep), #284953);
  color: white;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}

.ew-article-hero__inner { max-width: 900px; margin: 0 auto; }
.ew-article-hero h1 { color: white; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; margin: .55rem 0 1.2rem; }
.ew-article-hero__lead { font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.7; max-width: 760px; }
.ew-topic-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.ew-topic-strip span { border: 1px solid rgba(255,255,255,.38); border-radius: 999px; padding: .5rem .78rem; font-size: .9rem; }

.ew-section { max-width: 1180px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1rem, 4vw, 2.5rem); }
.ew-section--tint { max-width: none; background: var(--ew-cream); }
.ew-section--tint > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.ew-section__head { max-width: 760px; margin-bottom: 2rem; }
.ew-section h2 { color: var(--ew-ink); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.15; }
.ew-section h3 { color: var(--ew-ink); }
.ew-section p, .ew-section li { line-height: 1.75; }

.ew-category-nav { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.ew-category-nav a { display: inline-flex; padding: .66rem .95rem; border-radius: 999px; color: white; border: 1px solid rgba(255,255,255,.38); text-decoration: none; }
.ew-category-nav a:hover, .ew-category-nav a:focus-visible { background: white; color: var(--ew-deep); }

.ew-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.ew-card { display: flex; flex-direction: column; min-height: 100%; border: 1px solid #dfd8cd; border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 14px 35px rgba(21,46,51,.08); }
.ew-card__image { aspect-ratio: 16/9; overflow: hidden; background: var(--ew-mist); }
.ew-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ew-card:hover .ew-card__image img { transform: scale(1.025); }
.ew-card--type { background: linear-gradient(145deg, #17333a, #2f5055); color: white; }
.ew-card--type:nth-child(even) { background: linear-gradient(145deg, #7e482b, #a8673b); }
.ew-card--type .ew-card__body h3, .ew-card--type .ew-card__body a { color: white; }
.ew-card--type .ew-card__tag { color: #f4d6bb; }
.ew-card__body { padding: 1.45rem; display: flex; flex: 1; flex-direction: column; }
.ew-card__tag { color: var(--ew-copper-dark); font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ew-card h3 { margin: .55rem 0 .65rem; font-size: 1.35rem; line-height: 1.25; }
.ew-card p { margin: 0 0 1rem; line-height: 1.65; }
.ew-card a { margin-top: auto; color: var(--ew-copper-dark); font-weight: 800; text-underline-offset: .18em; }

.ew-prose { max-width: 840px; margin: 0 auto; padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2.5rem); }
.ew-prose h2 { margin-top: 2.6rem; color: var(--ew-ink); font-size: clamp(1.65rem, 3vw, 2.35rem); }
.ew-prose h3 { margin-top: 1.8rem; color: var(--ew-ink); }
.ew-prose p, .ew-prose li { line-height: 1.8; }
.ew-prose a { color: var(--ew-copper-dark); text-underline-offset: .18em; }
.ew-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin: 2rem 0; }
.ew-fact { padding: 1.15rem; border-radius: 14px; background: var(--ew-cream); border-left: 4px solid var(--ew-copper); }
.ew-fact strong { display: block; color: var(--ew-ink); margin-bottom: .25rem; }
.ew-note { margin: 2rem 0; padding: 1.25rem 1.35rem; background: #edf1ef; border-radius: 14px; border: 1px solid #d4ddda; }
.ew-note strong { color: var(--ew-ink); }
.ew-source-list { padding-left: 1.2rem; }
.ew-source-list li + li { margin-top: .55rem; }

.ew-cta {
  max-width: 1100px;
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: 24px;
  background: var(--ew-deep);
  color: white;
  text-align: center;
}
.ew-cta h2 { color: white; }
.ew-cta p { max-width: 680px; margin-left: auto; margin-right: auto; }
.ew-cta .lp1-actions { justify-content: center; }

.ew-crosslink { margin: 2rem auto; max-width: 1100px; padding: 1.5rem; border-radius: 18px; background: var(--ew-cream); text-align: center; }
.ew-crosslink a { color: var(--ew-copper-dark); font-weight: 800; }

.home-erlebniswelt-entry { max-width: 1180px; margin: clamp(2.5rem, 6vw, 5rem) auto; padding: clamp(2rem, 5vw, 4rem); border-radius: 24px; background: linear-gradient(135deg, var(--ew-deep), #284953); color: white; }
.home-erlebniswelt-entry h2 { color: white; max-width: 720px; }
.home-erlebniswelt-entry p { max-width: 720px; line-height: 1.7; }
.home-erlebniswelt-entry .button { margin-top: .5rem; }

@media (max-width: 900px) {
  .ew-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ew-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ew-hero--hub { min-height: 620px; }
  .ew-hero__media::after { background: linear-gradient(0deg, rgba(10,32,38,.95), rgba(10,32,38,.58)); }
  .ew-card-grid, .ew-facts { grid-template-columns: 1fr; }
  .ew-cta { border-radius: 0; margin-bottom: 2rem; }
  .home-erlebniswelt-entry { margin-left: 1rem; margin-right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ew-card__image img { transition: none; }
}
