/* CESIS – responsive layout, no external dependencies */
:root { color-scheme: light; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; color: #111; background: #fff; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 0; font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: #555; }
a:hover { color: #003caa; }
a:focus-visible { outline: 3px solid #004bb0; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* The original home-page composition is preserved at desktop width. */
.home-layout { width: min(100% - 32px, 675px); margin-inline: auto; }
.home-header { padding-top: 5px; display: flex; justify-content: center; }
.brand { display: inline-block; max-width: 100%; }
.brand img { width: 300px; max-width: 100%; }
.home-main { margin-top: 20px; }
.products-title { padding-left: 25px; }
.products-title img { width: 650px; }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 25px; }
.products-grid img { width: 100%; }
.third-product { display: flex; justify-content: center; margin: 20px 0; }
.third-product img { width: 325px; max-width: 100%; }
.site-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding: 4px 0 22px; }
.site-nav a, .document-actions a { font-size: .875rem; font-weight: bold; color: #666; text-decoration: none; }
.site-nav a:hover, .document-actions a:hover { color: #003caa; text-decoration: underline; }
/* Legal pages: readable measure and mobile-friendly text flow. */
.legal-page { width: min(100% - 32px, 920px); margin: 20px auto 48px; }
.legal-content { overflow-wrap: anywhere; }
.legal-content h1 { font-size: 1.25rem; line-height: 1.4; }
.legal-content h2 { font-size: 1.05rem; line-height: 1.4; }
.legal-content h4 { font-size: 1rem; line-height: 1.4; }
.legal-content ul { padding-left: 1.5rem; }
.agb-content { font-size: .875rem; }
.agb-content h1 { font-size: 1.125rem; }
.agb-content h2 { font-size: 1rem; }
.imprint-page { max-width: 740px; border: 1px solid #c0c0c0; padding: 15px; }
.imprint-header { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: end; }
.contact-details, .imprint-text { font-size: .875rem; overflow-wrap: anywhere; }
.imprint-details { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; margin-top: 12px; }
.imprint-details h1 { font-size: 1rem; text-align: center; margin: 0; }
.document-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }
.legal-footer { border-top: 1px solid #ddd; margin-top: 32px; padding-top: 14px; }
@media (max-width: 600px) {
  .home-layout { width: min(100% - 24px, 450px); }
  .home-header { padding-top: 10px; }
  .home-main { margin-top: 18px; }
  .products-title { padding-left: 0; }
  .products-grid { padding-left: 0; grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .products-grid img { width: 325px; }
  .third-product { margin: 18px 0; }
  .site-nav { gap: 12px 20px; }
  .site-nav a { padding: 6px 2px; }
  .imprint-header, .imprint-details { grid-template-columns: 1fr; gap: 12px; }
  .imprint-header .brand { justify-self: center; }
  .imprint-details h1 { text-align: left; }
  .legal-page { width: min(100% - 28px, 920px); margin-top: 12px; }
  .imprint-page { padding: 14px; }
}
@media print {
  .site-nav, .document-actions { display: none; }
  .legal-page { width: 100%; max-width: none; border: 0; }
  a { color: inherit; }
}
