/* Compact DE/CH catalogue within the existing RENMEN design. */
:root { --reading-size: 1rem; }
body { font-size: var(--reading-size); }
.home-page { --section-heading-size: clamp(2rem, 2.8vw, 2.625rem); }
.home-opening { --opening-hero-height: 320px; padding-bottom: 28px; }
.home-page .hero-grid { min-height: 320px; padding: 22px 0; }
.home-page .hero-copy { width: 830px; max-width: 64%; }
.home-page .hero h1 { font-size: clamp(2rem, 2.7vw, 2.5rem); line-height: 1.12; }
.home-page .hero .eyebrow { font-size: .875rem; margin-bottom: 10px; }
.home-page .hero-text { max-width: 770px; margin-top: 16px; font-size: 1rem; line-height: 1.5; }
.home-page .hero-actions { margin-top: 18px; }
.home-page .hero-actions .button { min-height: 44px; font-size: .9375rem; }
.home-page .services-priority { padding-top: 12px; }
.home-page .services-priority h2 { font-size: 1.75rem; }
.home-page .services-priority .section-heading { margin-bottom: 18px; }
.home-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-page .service-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); min-height: 0; overflow: hidden; }
.home-page .service-image { align-self: start; width: 100%; height: auto; aspect-ratio: 11 / 5; margin: 0; border-radius: 0; background: var(--blue-soft); }
.home-page .service-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-page .service-content { min-width: 0; padding: 20px; }
.home-page .service-card h3 { font-size: 1.125rem; min-height: 2.6em; line-height: 1.3; overflow-wrap: normal; word-break: normal; hyphens: none; }
.home-page .service-content > p { font-size: 1rem; line-height: 1.5; }
.home-page .service-content > .service-more { font-size: .875rem; padding-top: 12px; align-self: flex-start; }
.home-page .section { padding-block: 64px; }
.home-page .services-priority { padding: 12px 0 0; }
.home-page .intro { padding-top: 48px; }
.country-selection { padding-block: 48px 12px; }
.country-selection h2, .service-catalogue h2 { font-family: var(--serif); color: var(--navy); font-size: 2rem; font-weight: 400; line-height: 1.25; }
.country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.country-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px; background: white; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; }
.country-card h3 { margin: 0; color: var(--navy); font-size: 1.375rem; line-height: 1.35; }
.country-card p { font-size: 1rem; line-height: 1.65; }
.country-link { margin-top: auto; color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.country-card:hover { border-color: var(--green); }
.country-switch { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 28px 0; }
.country-switch a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 1rem; color: var(--navy); }
.country-switch a[aria-current="page"] { color: white; background: var(--navy); border-color: var(--navy); }
.service-detail .detail-hero { padding: 38px 0 42px; }
.service-detail .breadcrumbs { margin-bottom: 28px; }
.service-detail .detail-hero h1 { font-size: clamp(2rem, 3.3vw, 3rem); }
.service-detail .detail-lead { font-size: 1.125rem; line-height: 1.65; margin-top: 22px; }
.service-detail .detail-image { width: 100%; height: auto; max-height: 330px; object-fit: contain; }
.service-detail .detail-section h2 { font-size: 1.875rem; }
.service-detail .detail-section p, .service-detail .detail-section li { font-size: 1rem; line-height: 1.75; }
.service-detail .detail-next h2 { font-size: 2rem; }
.legal-sources { background: var(--blue-soft); padding: 28px; border-radius: 4px; }
.legal-sources a { text-decoration: underline; text-underline-offset: 3px; }
.legal-sources .source-date { margin-top: 16px; font-size: .875rem; }
.service-catalogue { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-bottom: 64px; }
.service-catalogue h2 { flex-basis: 100%; margin: 0 0 8px; }
.service-catalogue a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (min-width: 1024px) and (max-height: 820px) {
  .home-opening { --opening-hero-height: 300px; }
  .home-page .hero-grid { min-height: 300px; }
}
@media (min-width: 1024px) and (max-width: 1260px) {
  .home-page .hero-copy { max-width: 68%; }
  .home-page .service-card { grid-template-columns: minmax(0, 1fr); }
  .home-page .service-card h3 { font-size: 1.125rem; }
}
@media (max-width: 1023px) {
  .home-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .service-card { grid-template-columns: minmax(0, 1fr); }
  .home-page .hero-copy { max-width: 72%; }
  .service-detail .detail-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .service-detail .detail-image { max-width: 520px; }
}
@media (max-width: 820px) {
  .home-page .hero-grid { padding: 230px 0 28px; min-height: 0; }
  .home-page .hero-copy { max-width: 100%; }
  .home-page .hero-text { max-width: none; }
  .home-page .hero h1 { font-size: 2rem; }
  .home-page .hero-actions .button { min-height: 44px; }
  .home-page .opening-background { max-height: 300px; object-fit: contain; object-position: top right; }
  .home-page .section { padding-block: 48px; }
  .home-page .services-priority { padding: 16px 0 0; }
  .country-grid { grid-template-columns: minmax(0, 1fr); }
  .service-detail .detail-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .home-page .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-page .service-card { min-height: 0; }
  .home-page .service-content { padding: 20px; }
  .home-page .service-card h3 { font-size: 1.25rem; min-height: 0; }
  .home-page .hero-grid { padding-top: 210px; }
  .home-page .hero h1 { font-size: 1.875rem; hyphens: auto; }
  .home-page .hero-actions .button { width: 100%; justify-content: center; }
  .country-selection { padding-top: 32px; }
  .country-card { padding: 22px; }
  .country-card h3 { font-size: 1.25rem; }
  .service-detail .detail-section h2 { font-size: 1.625rem; }
  .legal-sources { padding: 20px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .service-card:hover { transform: none; }
}

@media (max-width: 360px) {
  .home-page .service-card h3 { font-size: 1.125rem; }
}
