/* =========================================================
   HOI – House of ILON · Coming Soon
   Gemeinsames Stylesheet (index, impressum, datenschutz)
   Vanilla CSS · BEM · Design-Tokens · Privacy-first (keine externen Requests)
   ========================================================= */

/* ---- Selbst gehostete Schrift (kein Google-Request) ---- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/montserrat-400.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/montserrat-600.woff2") format("woff2");
}

/* ---- Design-Tokens ---- */
:root {
  --color-bg: #f3ede3;          /* Creme / Naturpapier */
  --color-bg-card: #fbf8f2;     /* etwas heller fuer Karten */
  --color-ink: #1c1a17;         /* Tinte / Headline */
  --color-muted: #6b6358;       /* Sekundaertext */
  --color-accent: #3d5141;      /* erdiges Gruen (dezent) */
  --color-line: #e3d9c9;        /* feine Trennlinien */

  --maxw: 960px;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(40, 30, 15, 0.08);
  --space: clamp(1.25rem, 4vw, 2.5rem);

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Reset / Basis ---- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); }

/* =========================================================
   Coming-Soon Startseite
   ========================================================= */
.hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 8vw, 5rem) var(--space) var(--space);
  animation: fade-in 1s ease-out both;
}

.hero__logo {
  width: clamp(140px, 40vw, 210px);
  height: auto;
  margin-bottom: 1.5rem;
}

.hero__brand {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.hero__headline {
  font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__text {
  max-width: 46ch;
  color: var(--color-muted);
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  margin: 0 auto;
}

/* ---- Produkt-Teaser ---- */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(2.5rem, 7vw, 4rem) auto 0;
}

.product {
  background: var(--color-bg-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem 1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(40, 30, 15, 0.12);
}

.product__img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 12px;
}

.product__name {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.product__sub {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---- Social ---- */
.social {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: clamp(2.5rem, 7vw, 3.5rem);
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  background: var(--color-bg-card);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social__link:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.social__link svg { width: 20px; height: 20px; }

/* =========================================================
   Footer (alle Seiten)
   ========================================================= */
.footer {
  flex-shrink: 0;
  text-align: center;
  padding: 2rem var(--space);
  border-top: 1px solid var(--color-line);
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer__nav { margin-bottom: 0.5rem; }

.footer__nav a {
  color: var(--color-muted);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer__nav a:hover { color: var(--color-ink); text-decoration: underline; }

/* =========================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================= */
.legal {
  flex: 1 0 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--space);
}

.legal__back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  margin-bottom: 2rem;
}
.legal__back:hover { color: var(--color-ink); }

.legal h1 {
  font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}

.legal p { margin-bottom: 0.75rem; }
.legal address { font-style: normal; margin-bottom: 0.75rem; }
.legal a { color: var(--color-accent); }

/* ---- Animation ---- */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 768px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}
