@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ============================================================
   DESIGN TOKENS — Petal & Print (from DESIGN.md)
   ============================================================ */
:root {
  /* Surfaces */
  --surface:                 #fbf9f5;
  --surface-dim:             #dbdad6;
  --surface-bright:          #fbf9f5;
  --surface-container-lowest:#ffffff;
  --surface-container-low:   #f5f3ef;
  --surface-container:       #efeeea;
  --surface-container-high:  #eae8e4;
  --surface-container-highest:#e4e2de;

  /* On-surface */
  --on-surface:              #1b1c1a;
  --on-surface-variant:      #504444;

  /* Inverse */
  --inverse-surface:         #30312e;
  --inverse-on-surface:      #f2f0ed;

  /* Outline */
  --outline:                 #827473;
  --outline-variant:         #d4c2c2;

  /* Primary */
  --primary:                 #7b5455;
  --on-primary:              #ffffff;
  --primary-container:       #f4c2c2;
  --on-primary-container:    #734e4e;

  /* Secondary */
  --secondary:               #5c6148;
  --on-secondary:            #ffffff;
  --secondary-container:     #dee3c3;

  /* Tertiary */
  --tertiary:                #5c5d6e;
  --on-tertiary:             #ffffff;
  --tertiary-container:      #cdcde0;

  /* Background */
  --background:              #fbf9f5;
  --on-background:           #1b1c1a;

  /* Functional */
  --error:                   #ba1a1a;
  --on-error:                #ffffff;

  /* Typography */
  --font-serif:   'Noto Serif', serif;
  --font-sans:    'Plus Jakarta Sans', sans-serif;

  /* Rounded */
  --rounded-sm:   0.25rem;
  --rounded:      0.5rem;
  --rounded-md:   0.75rem;
  --rounded-lg:   1rem;
  --rounded-xl:   1.5rem;
  --rounded-full: 9999px;

  /* Spacing */
  --unit:            8px;
  --container-max:   1280px;
  --gutter:          24px;
  --margin-mobile:   16px;
  --margin-desktop:  64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary-container); }

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Utility shadow from the Stitch export */
.soft-shadow {
  box-shadow: 0 10px 30px -5px rgba(244, 194, 194, 0.15);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.text-h1, h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-h2, h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
}

.text-h3, h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.text-body-lg {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.text-body-md, body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.label-caps {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   NAVIGATION — Glassmorphism
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid #E6E6FA;
  box-shadow: 0 4px 30px rgba(244,194,194,0.05);
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 32px;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: #171717;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-serif);
  color: #737373;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-container);
}

.nav-links a.active {
  color: #0a0a0a;
  border-bottom: 2px solid var(--primary-container);
  padding-bottom: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: #262626;
  transition: color 0.3s;
}

.nav-actions button:hover {
  color: var(--primary-container);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 870px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FDFBF9;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--background), rgba(251,249,245,0.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-inner {
  max-width: 672px;
}

.hero-label {
  color: var(--primary);
  margin-bottom: 24px;
  display: block;
  letter-spacing: 0.2em;
}

.hero h1 {
  color: var(--on-surface);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--primary-container);
  color: var(--on-primary-container);
  padding: 16px 40px;
  border-radius: var(--rounded-full);
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--on-surface);
  padding: 16px 40px;
  border-radius: var(--rounded-full);
  border: 1px solid var(--outline);
  cursor: pointer;
  transition: background 0.3s;
}
.btn-outline:hover { background: var(--surface-container); }

.btn-solid {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 16px 40px;
  border-radius: var(--rounded-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}
.btn-solid:hover { background: var(--on-primary-container); }

/* ============================================================
   CATEGORIES — "Curated Objects"
   ============================================================ */
.categories-section {
  padding: 128px 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.categories-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 16px;
}

.categories-header .divider-line {
  height: 1px;
  background: var(--outline-variant);
  flex-grow: 1;
  margin: 0 48px 16px;
}

.categories-header a {
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.categories-header a:hover { color: var(--primary); }
.categories-header a .material-symbols-outlined { font-size: 16px; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.category-card {
  cursor: pointer;
}

.category-card:nth-child(2) {
  margin-top: 96px;
}

.category-card .card-image {
  aspect-ratio: 4/5;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.category-card:nth-child(1) .card-image { background: var(--surface-container-low); }
.category-card:nth-child(2) .card-image { background: rgba(222,227,195,0.2); }
.category-card:nth-child(3) .card-image { background: rgba(244,194,194,0.2); }

.category-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.category-card:hover .card-image img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--rounded-full);
  font-size: 10px;
  color: var(--tertiary);
}

.category-card h3 {
  margin-bottom: 8px;
}

.category-card p {
  color: var(--on-surface-variant);
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-section {
  background: var(--surface-container-low);
  padding: 128px 32px;
  border-top: 1px solid #E6E6FA;
  border-bottom: 1px solid #E6E6FA;
}

.philosophy-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.philosophy-image-wrap {
  position: relative;
}

.philosophy-circle {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid white;
}
.philosophy-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-badge {
  position: absolute;
  bottom: -32px;
  right: -32px;
  background: white;
  padding: 32px;
  border-radius: var(--rounded-xl);
  max-width: 200px;
}

.philosophy-badge .label-caps {
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.philosophy-badge p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.philosophy-text .label-caps {
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.philosophy-text h2 {
  color: var(--on-surface);
  margin-bottom: 32px;
}

.philosophy-text .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--on-surface-variant);
  margin-bottom: 24px;
}

.philosophy-text .body-copy {
  color: var(--on-surface-variant);
  margin-bottom: 16px;
}

.philosophy-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.philosophy-divider .line {
  width: 48px;
  height: 1px;
  background: var(--primary);
}

.philosophy-divider .material-symbols-outlined {
  color: var(--primary);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  padding: 128px 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.newsletter-card {
  background: rgba(244,194,194,0.1);
  border: 1px solid rgba(244,194,194,0.3);
  border-radius: 1.5rem;
  padding: 96px 64px;
  position: relative;
  overflow: hidden;
}

.newsletter-blob-1 {
  position: absolute;
  top: 0; left: 0;
  width: 128px; height: 128px;
  background: rgba(244,194,194,0.2);
  filter: blur(48px);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.newsletter-blob-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 256px; height: 256px;
  background: rgba(222,227,195,0.2);
  filter: blur(48px);
  border-radius: 50%;
  transform: translate(50%,50%);
}

.newsletter-inner {
  position: relative;
  z-index: 10;
  max-width: 576px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  color: var(--on-surface);
  margin-bottom: 16px;
}

.newsletter-inner p {
  color: var(--on-surface-variant);
  margin-bottom: 40px;
}

.newsletter-form {
  display: flex;
  gap: 16px;
}

.newsletter-form input {
  flex-grow: 1;
  background: white;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-full);
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(123,84,85,0.2);
  background: #F0F2E8;
}

.newsletter-disclaimer {
  margin-top: 24px;
  font-size: 11px;
  color: var(--tertiary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #E6E6FA;
  background: #FDFBF9;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #262626;
  margin-bottom: 24px;
}

.footer-desc {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: #525252;
  max-width: 280px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials .material-symbols-outlined {
  color: #a3a3a3;
  cursor: pointer;
  transition: color 0.3s;
}
.footer-socials .material-symbols-outlined:hover {
  color: var(--primary);
}

.footer-col h4 {
  margin-bottom: 24px;
}

.footer-col li {
  margin-bottom: 16px;
}

.footer-col a {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: #737373;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--primary-container); }

.footer-col .footer-info {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: #737373;
  font-style: italic;
}

.footer-copyright {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: #a3a3a3;
  padding-top: 16px;
}

/* ============================================================
   CONTENT PAGES (Impressum, Kontakt etc.)
   ============================================================ */
.content-container {
  max-width: 800px;
  margin: 140px auto 100px;
  padding: 0 32px;
}

.content-container h1 {
  text-align: center;
  margin-bottom: 60px;
}

.content-container h2 {
  margin: 40px 0 20px;
}

.content-container p {
  margin-bottom: 16px;
  color: var(--on-surface-variant);
}

/* Form styles for Contact page */
.form-container {
  max-width: 600px;
  margin: 40px auto 100px;
  background: white;
  padding: 48px;
  border-radius: var(--rounded-xl);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #F0F2E8;
  box-shadow: 0 0 0 3px rgba(123,84,85,0.15);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { height: 600px; }
  .hero h1 { font-size: 32px; }

  .nav-links { display: none; }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .category-card:nth-child(2) { margin-top: 0; }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .newsletter-card { padding: 48px 24px; }
  .newsletter-form { flex-direction: column; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .categories-header .divider-line { display: none; }
}
