@import url('../designsystem/design-tokens.css');

/* ── Artikel-Hero ── */
.article-hero { max-width: var(--max-w-narrow, 720px); margin: 0 auto; padding: 48px 32px 0; }
.article-hero h1 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 400; letter-spacing: -0.5px; line-height: 1.15; color: var(--text-dark); margin: 12px 0 16px; }
.article-hero h1 strong em { font-style: italic; font-weight: 700; color: var(--sh-green); }
.article-meta { font-size: 13px; color: var(--text-mid); }

/* ── Artikel-Figuren ── */
.article-figure { margin: 40px 0; }
.article-figure--hero { max-width: var(--max-w-content, 1060px); margin: 32px auto 0; }
.article-figure img { width: 100%; height: auto; display: block; }
.photo-credit { font-size: 11px; color: var(--text-mid); opacity: 0.75; margin-top: 8px; }
.photo-credit a { color: var(--text-mid); text-decoration: underline; }
.photo-credit a:hover { color: var(--sh-green); }

/* ── Artikel-Body ── */
.article-body { max-width: var(--max-w-narrow, 720px); margin: 0 auto; padding: 0 32px; }
.article-body section { margin-bottom: 48px; }
.article-body h3 { font-size: 19px; font-weight: 600; color: var(--text-dark); margin: 28px 0 10px; }
.article-body p { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.article-body .section-title { margin-top: 8px; }

/* ── Zusammenfassung ── */
.article-summary { background: var(--off-white); border: 1px solid rgba(74,120,134,0.15); padding: 24px 28px; margin: 32px 0; }
.article-summary p { margin: 0; font-size: 15px; color: var(--text-dark); }

/* ── Entfernungs-Hinweis ── */
.article-distance { border-left: 2px solid var(--sh-green); padding-left: 16px; font-size: 14px; color: var(--text-mid); margin: 32px 0; }
.article-distance strong { color: var(--text-dark); }

/* ── Ortsangaben ── */
.place-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: 14px; color: var(--text-mid); margin: 16px 0 24px; }
.place-facts dt { font-weight: 700; color: var(--text-dark); }
.place-facts dd { margin: 0; }

/* ── Tabellen ── */
.table-scroll { overflow-x: auto; margin: 24px 0; }
.table-scroll table { border-collapse: collapse; width: 100%; font-size: 14px; }
.table-scroll th, .table-scroll td { border: 1px solid rgba(74,120,134,0.15); padding: 10px 14px; text-align: left; }
.table-scroll th { background: var(--off-white); color: var(--text-dark); font-weight: 700; }

/* ── Link mit Pfeil ── */
.link-arrow { display: inline-block; font-weight: 700; color: var(--sh-green); margin: 8px 0 48px; }
.link-arrow:hover { color: var(--sh-green-dark); }

/* ── FAQ ── */
.article-faq { max-width: var(--max-w-narrow, 720px); margin: 0 auto 64px; padding: 0 32px; }
.article-faq details { border-bottom: 1px solid rgba(74,120,134,0.15); padding: 20px 0; }
.article-faq summary { font-size: 16px; font-weight: 600; color: var(--text-dark); cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 20px; color: var(--sh-green); transition: transform .2s; }
.article-faq details[open] summary::after { transform: rotate(45deg); }
.article-faq p { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-top: 12px; }

/* ── CTA ── */
.article-cta { background: var(--teal-deep); padding: 56px 32px; text-align: center; }
.article-cta h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 400; color: var(--cream); margin-bottom: 16px; }
.article-cta p { font-size: 15px; color: var(--teal-light); margin-bottom: 28px; }
.article-cta p a { color: var(--sand); text-decoration: underline; }
.article-cta .btn-hero-primary { display: inline-block; background: var(--sand); color: var(--teal-deep); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 36px; }
.article-cta .btn-hero-primary:hover { background: var(--sand-warm); color: var(--teal-deep); }

/* ── Verwandte Artikel ── */
.article-related { max-width: var(--max-w-narrow, 720px); margin: 0 auto; padding: 48px 32px 64px; }
.article-related ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.article-related a { font-size: 15px; color: var(--sh-green); font-weight: 400; }
.article-related a:hover { color: var(--sh-green-dark); }

/* ── Mobil ── */
@media (max-width: 768px) {
  .article-hero, .article-body, .article-faq, .article-related { padding-left: 20px; padding-right: 20px; }
  .place-facts { grid-template-columns: 1fr; }
}

/* ── Hub: Saison-Highlight (breite Kachel) ── */
.hub-season { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--off-white); margin: 48px 0 64px; }
.hub-season-img { position: relative; overflow: hidden; min-height: 280px; }
.hub-season-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hub-season-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.hub-season-content .section-label { margin-bottom: 10px; }
.hub-season-content h2 { font-size: 26px; font-weight: 400; color: var(--text-dark); margin-bottom: 12px; }
.hub-season-content p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.hub-season-content .link-arrow { margin: 0; }

/* ── Hub: Container ── */
.hub-text { max-width: var(--max-w-narrow, 720px); margin: 0 auto; padding: 64px 32px 0; }
.hub-container { max-width: var(--max-w-content, 1060px); margin: 0 auto; padding: 0 32px; }

/* ── Hub: Themengruppen & Kachel-Grid ── */
.hub-group { margin: 0 0 56px; }
.hub-group .section-body { margin-bottom: 28px; }
.hub-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hub-group-row .section-body { font-size: 14px; line-height: 1.5; white-space: nowrap; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.tile-grid-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: var(--space-12, 12px); }
.tile-card { display: block; background: var(--off-white); color: inherit; transition: transform .3s ease; }
.tile-card:hover { transform: translateY(-4px); color: inherit; }
.tile-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.tile-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-card-body { padding: 20px; }
.tile-card-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sh-green); margin-bottom: 8px; }
.tile-card h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.tile-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 10px; }
.tile-card-more { font-size: 12px; font-weight: 700; color: var(--sh-green); }

/* ── Hub: Wohnen-Block (dunkel) ── */
.hub-housing { background: var(--teal-deep); padding: 80px 0; }
.hub-housing .section-label { color: var(--teal-light); }
.hub-housing h2 { font-size: 30px; font-weight: 400; color: var(--cream); margin-bottom: 12px; }
.hub-housing h2 em { font-style: italic; font-weight: 700; color: var(--sand); }
.hub-housing > .hub-container > p { font-size: 15px; color: var(--teal-light); max-width: 560px; margin-bottom: 36px; }
.house-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 32px; }
.house-tile { display: block; color: inherit; }
.house-tile-img { aspect-ratio: 4 / 3; overflow: hidden; }
.house-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.house-tile h4 { font-size: 14px; font-weight: 600; color: var(--cream); margin: 12px 0 4px; }
.house-tile p { font-size: 12px; color: var(--teal-light); }
.hub-housing .btn-hero-primary { display: inline-block; background: var(--sand); color: var(--teal-deep); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 36px; }
.hub-housing .btn-hero-primary:hover { background: var(--sand-warm); color: var(--teal-deep); }
.hub-trust { font-size: 12px; color: var(--teal-light); margin-top: 20px; }

/* ── Hub: SEO-Text ── */
.hub-seo { max-width: var(--max-w-narrow, 720px); margin: 0 auto; padding: 80px 32px; }
.hub-seo h2 { font-size: 26px; font-weight: 400; color: var(--text-dark); margin-bottom: 20px; }
.hub-seo p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }

/* ── Hub: Bildnachweis ── */
.hub-photo-credits { font-size: 11px; color: var(--text-mid); opacity: 0.65; text-align: center; padding: 24px var(--gutter) 48px; }

/* ── Hub: Mobil ── */
@media (max-width: 768px) {
  .hub-season { grid-template-columns: 1fr; }
  .hub-season-img { min-height: 220px; }
  .hub-season-content { padding: 28px 20px; }
  .hub-text { padding: 40px 20px 0; }
  .hub-container { padding: 0 20px; }
  .hub-housing { padding: 56px 0; }
  .hub-group-row { grid-template-columns: 1fr; gap: 0; }
  .hub-group-row .section-body { white-space: normal; }
  .tile-grid-3 { grid-template-columns: 1fr; }
  .house-tiles { display: flex; overflow-x: auto; padding-bottom: 8px; }
  .house-tile { flex: 0 0 180px; }
}

