/* PetChillen "Bald geöffnet" website. Same look as the shop: white, forest green, Fraunces headings, DM Sans text.
   The fonts are stored on this website itself (no Google Fonts), so visitors' data goes nowhere else. */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
}

:root {
  --forest: #344d40;
  --forest-deep: #2b4035;
  --terracotta: #d47b55;
  --ink: #202b27;
  --muted: #5f6661;
  --line: #e4e4df;
  --soft: #f4f4f1;
  --heading: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--heading); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
.section { padding-block: 64px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; }
.logo span { font-family: var(--heading); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.header-link { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.header-link:hover { color: var(--forest); text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- buttons and links */
.button {
  display: inline-block; padding: 13px 26px; border: 1px solid var(--forest); border-radius: 6px;
  background: var(--forest); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s ease;
}
.button:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.button--outline { background: #fff; color: var(--forest); }
.button--outline:hover { background: var(--forest); color: #fff; }

/* ---------------------------------------------------------------- welcome */
.hero { padding-block: 48px 64px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 56px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--forest); font-size: 15px; font-weight: 600; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
.hero h1 { margin: 0 0 18px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; }
.hero p { max-width: 460px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 60%; border-radius: 8px; background: var(--soft); }

/* ---------------------------------------------------------------- coming soon */
.section h2 { margin: 0 0 24px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.categories img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--soft); }
.categories a { display: block; text-decoration: none; color: var(--ink); }
.categories img { transition: opacity .2s ease; }
.categories a:hover img { opacity: .9; }
.categories span { display: block; margin-top: 12px; font-size: 17px; font-weight: 600; }
.categories a:hover span { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.categories small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }

/* The "Im Aufbau" (under construction) page. */
.building { max-width: 640px; padding-block: 72px 96px; text-align: center; }
.building img { width: 72px; height: 72px; margin: 0 auto 24px; }
.building h1 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.building p { margin: 0 auto 28px; max-width: 520px; color: var(--muted); font-size: 17px; }
.building .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------------------------------------------------------------- suppliers */
.partners { border-block: 1px solid var(--line); background: var(--soft); }
.partners .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.partners h2 { margin-bottom: 10px; }
.partners p { max-width: 640px; margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- story */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.story img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 88%; border-radius: 8px; background: var(--soft); }
.story p { color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding-block: 40px; background: var(--forest); color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .logo { color: #fff; }
.site-footer .logo span { font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; }

/* ---------------------------------------------------------------- Impressum and Datenschutz */
.legal { max-width: 760px; padding-block: 48px 72px; }
.legal h1 { margin: 0 0 28px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; }
.legal h2 { margin: 36px 0 10px; font-family: var(--body); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal .note { margin-top: 40px; color: var(--muted); font-size: 14px; }
.legal a { color: var(--forest); }

/* ---------------------------------------------------------------- tablets */
@media (max-width: 991.98px) {
  .wrap { padding-inline: 24px; }
  .section { padding-block: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero img { order: -1; }
  .partners .wrap { grid-template-columns: 1fr; gap: 20px; }
  .story { gap: 32px; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 575.98px) {
  .wrap { padding-inline: 16px; }
  .section { padding-block: 40px; }
  .hero { padding-block: 16px 40px; }
  .hero p { font-size: 16px; }
  .logo img { width: 34px; height: 34px; }
  .logo span { font-size: 22px; }
  .categories { gap: 10px; }
  .categories span { font-size: 14px; margin-top: 8px; }
  .story { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
