/* ============================================================
   inspirato.de – gemeinsames Stylesheet
   Schriften lokal (keine Anfrage an Google), Basis-Styles,
   Layout für Impressum / Datenschutz / Fehlerseite.
   Die Startseite nutzt zusätzlich Inline-Styles aus dem Design.
   ============================================================ */

/* --- Schriften (Variable Fonts, OFL-Lizenz) ------------------ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
}

/* --- Basis (aus dem Design übernommen) ----------------------- */
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: #14171F; }
a:hover { color: #3A4150; }

/* --- Unterseiten: Impressum, Datenschutz, Fehlerseite -------- */
.page {
  container-type: inline-size;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: #14171F;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.page-header,
.page-main,
.page-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: clamp(20px, 5cqi, 64px);
  padding-right: clamp(20px, 5cqi, 64px);
}
.page-header {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-header__logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.page-header__logo img {
  display: block;
  height: 76px;
  width: auto;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 20px;
  border: 1.5px solid #14171F;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #14171F;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 22px;
  border-radius: 999px;
  background: #DB0028;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.btn-accent:hover { background: #A3121F; color: #FFFFFF; }

.page-main {
  flex: 1;
  padding-top: clamp(32px, 5cqi, 72px);
  padding-bottom: clamp(56px, 7cqi, 96px);
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #DB0028;
}
.page-main h1 {
  margin: 0 0 clamp(32px, 4cqi, 56px);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5cqi, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

/* Fließtext der Rechtstexte */
.prose { max-width: 760px; color: #3A4150; overflow-wrap: break-word; }
.prose h2 {
  margin: 48px 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #14171F;
}
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #14171F; font-weight: 600; }
.prose dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 24px;
  margin: 0 0 24px;
}
.prose dt { color: #5B6472; }
.prose dd { margin: 0; }

/* Fehlerseite (410 / 404) */
.page-main--center { display: flex; align-items: center; }
.page-main--center .prose p { font-size: 18px; margin-bottom: 32px; max-width: 560px; }

/* Footer */
.page-footer { background: #14171F; color: #C9CED6; }
.page-footer__inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  font-size: 14px;
}
.page-footer nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.page-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #FFFFFF;
  text-decoration: none;
}
.page-footer a:hover { color: #C9CED6; }

/* Überschrift der Fehlerseite steht innerhalb von .prose */
.page-main--center h1 { color: #14171F; margin-bottom: 24px; }
.page-main--center .eyebrow { font-size: 14px; margin-bottom: 20px; }
