/* Colours and type follow the app (src/theme.ts). Fonts are self-hosted so no visitor data goes to third parties. */
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --background: #F4F1EA;
  --canopy: #DCE8DE;
  --surface: #FFFFFF;
  --ink: #17271F;
  --muted: #5E6B64;
  --line: #E6E2D9;
  --primary: #2C5E47;
  --primary-dark: #21493A;
  --primary-soft: #E4EEE6;
  --accent: #E9C260;
  --accent-soft: #FBF1D6;
  --peach: #EBB3A3;
  --peach-soft: #FBEDE3;
  --radius-lg: 32px;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(23, 39, 31, 0.04), 0 12px 32px rgba(23, 39, 31, 0.08);
  --shadow-lift: 0 2px 4px rgba(23, 39, 31, 0.05), 0 20px 48px rgba(23, 39, 31, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Soft colour fields behind the top of the page. */
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(600px 420px at 85% 10%, var(--accent-soft), transparent 70%),
    radial-gradient(700px 520px at 10% 0%, var(--canopy), transparent 70%),
    radial-gradient(500px 400px at 60% 60%, var(--peach-soft), transparent 70%);
}

a { color: var(--primary); font-weight: 700; text-underline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(244, 241, 234, 0.72);
  border-bottom: 1px solid rgba(23, 39, 31, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
/* Same as the app's BrandName: "Mums" in ink, "dags" in primary, Manrope ExtraBold. */
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 28px; }
.brand img { width: auto; height: 64px; }
.brand-accent { color: var(--primary); }
.nav { display: flex; gap: 8px; }
.nav a { font-size: 15px; text-decoration: none; color: var(--ink); padding: 10px 16px; border-radius: 999px; transition: background 0.2s; }
.nav a:hover { background: rgba(23, 39, 31, 0.06); }
.nav a.nav-cta { background: var(--primary); color: #fff; }
.nav a.nav-cta:hover { background: var(--primary-dark); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 72px 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); background: var(--surface); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 24px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -2px; margin: 0 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--primary), #5F8F55); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 36px; max-width: 34ch; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores a { display: block; border-radius: 10px; transition: transform 0.2s, box-shadow 0.2s; }
.stores a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.stores img { height: 52px; width: auto; display: block; }

.hero-visual { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 4.4; transform: rotate(1.5deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
  font-size: 14px;
  line-height: 1.3;
}
.float-card strong { display: block; font-size: 15px; }
.float-card span { color: var(--muted); }
.float-card .thumb { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.float-card.one { left: -32px; bottom: 56px; }
.float-card.two { right: -20px; top: 40px; }

/* Features */
.section { padding-bottom: 96px; }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 10px 10px 28px; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.feature h3 { margin: 20px 18px 8px; font-size: 21px; letter-spacing: -0.3px; font-weight: 800; }
.feature p { margin: 0 18px; color: var(--muted); }

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  margin-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact::after { content: ''; position: absolute; width: 360px; height: 360px; right: -80px; top: -140px; border-radius: 50%; background: rgba(233, 194, 96, 0.18); }
.contact h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.8px; font-weight: 800; }
.contact p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 18px; }
.button { position: relative; z-index: 1; display: inline-block; background: #fff; color: var(--primary); text-decoration: none; padding: 16px 26px; border-radius: 999px; font-weight: 800; transition: transform 0.2s; }
.button:hover { transform: translateY(-2px); }

/* Contact form */
.doc.contact-page { max-width: 640px; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--background);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.reply-fields { display: grid; gap: 14px; margin: 0; padding: 20px; border: 1.5px dashed var(--line); border-radius: 18px; }
.reply-fields legend { padding: 0 6px; font-weight: 800; font-size: 16px; }
.optional { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: #7A5B12; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.form-hint { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: #5C4A1E; font-size: 14px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }
.button-primary { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 800; background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-dark); }
.button-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-status { border-radius: 14px; padding: 14px 18px; font-weight: 700; }
.form-status.success { background: var(--primary-soft); color: var(--primary-dark); }
.form-status.error { background: #FBEAE4; color: #B04A3B; }

/* Document pages (privacy policy) */
.doc { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 6vw, 64px); margin-block: 40px 64px; max-width: 820px; margin-inline: auto; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 8px; font-weight: 800; }
.doc h2 { font-size: 22px; letter-spacing: -0.3px; margin: 40px 0 10px; font-weight: 800; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--background); font-weight: 800; }

/* Footer */
.site-footer { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 28px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 40px 72px; }
  .features { grid-template-columns: 1fr; }
  .float-card.one { left: 12px; }
  .float-card.two { right: 12px; }
}

@media (max-width: 520px) {
  .brand { font-size: 22px; }
  .brand img { height: 52px; }
  .nav a { padding: 8px 14px; }
  .nav a:not(.nav-cta) { display: none; } /* phones: only Kontakt; the rest is in the footer */
  .stores img { height: 46px; }
  .float-card { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
