/* =========================================================
   Landingpage Verlagsdruckerei Schmidt (VDS)
   Gemeinsames Stylesheet für Startseite & Impressum
   ========================================================= */

:root {
  --navy: #0e224a;
  --navy-light: #1c3a73;
  --text: #1a1a1a;
  --muted: #555;
  --rule: #d8dde6;
  --page-max: 1180px;
  --prose-max: 720px;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L",
    Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Top bar (Kontaktleiste) ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.topbar__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 36px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

/* ---------- Header (Logo) ---------- */
.site-header {
  padding: 34px 24px 26px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.site-header__logo {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* ---------- Main ---------- */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 24px 60px;
}

.prose {
  max-width: var(--prose-max);
  margin: 0 auto;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 1.1em;
  color: var(--navy);
}

.prose p {
  margin: 0 0 1.15em;
}

a {
  color: var(--navy-light);
}

.prose a {
  color: var(--navy-light);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.prose a:hover {
  color: var(--navy);
}

.signature {
  font-weight: 700;
  margin-top: 1.6em;
}

.claim {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.4em;
}

/* ---------- Foto ---------- */
.photo {
  margin: 44px auto 18px;
  max-width: 540px;
  text-align: center;
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.photo figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Partnerlogos ---------- */
.partners {
  margin: 46px auto 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.partners a {
  display: inline-flex;
  align-items: center;
  border-bottom: 0;
  font-weight: 400;
}

.partners img {
  display: block;
  height: auto;
  width: auto;
  filter: grayscale(0);
  transition: opacity 0.2s ease;
}

.partners a:hover img {
  opacity: 0.8;
}

.partners .logo-wortwert {
  max-height: 70px;
}

.partners .logo-vds {
  max-height: 110px;
}

.partners .logo-rudolph {
  max-height: 64px;
}

/* ---------- Impressum-Inhalt ---------- */
.imprint {
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.7;
}

.imprint h1 {
  margin-bottom: 0.8em;
}

.imprint h2 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 1.8em 0 0.2em;
}

.imprint h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 1.1em 0 0.2em;
}

.imprint p {
  margin: 0 0 1em;
}

.imprint .addr {
  margin-bottom: 1.4em;
}

.imprint .addr strong {
  display: block;
  margin-bottom: 0.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 18px 24px;
  margin-top: 40px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
    gap: 4px 24px;
  }

  h1 {
    font-size: 1.55rem;
  }

  main {
    padding: 34px 20px 44px;
  }

  .partners {
    gap: 30px;
  }

  .partners .logo-wortwert {
    max-height: 56px;
  }

  .partners .logo-vds {
    max-height: 88px;
  }

  .partners .logo-rudolph {
    max-height: 52px;
  }
}
