/* ==========================================================================
   Kerstbrood van Oma — Design System
   White, ink-black with soft warm pastel accents
   Rounded shapes, italic script branding
   ========================================================================== */

:root {
  /* Palette - warmer & cleaner */
  --white: #ffffff;
  --cream: #fdfaf6;
  --cream-soft: #f7f1e8;
  --cream-deep: #efe6d7;
  --ink: #0f0f0f;
  --ink-soft: #3a3a3a;
  --ink-mute: #7a7a7a;
  --line: #ece4d3;
  --line-soft: #f0e8d8;

  /* Warm accent palette (replaces forest green) */
  --warm: #8a6a47;          /* main brown accent */
  --warm-deep: #5d4631;     /* dark brown for hover */
  --warm-soft: #c9a983;     /* light pastel brown */
  --warm-pale: #ead9be;     /* very pale pastel */
  --berry: #8c4a4a;         /* error / accent */

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-script: "Allura", "Pinyon Script", "Cormorant Garamond", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 10vw, 8rem);

  /* Radius — generous rounded vibe */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(15, 15, 15, 0.04);
  --shadow-medium: 0 12px 40px rgba(15, 15, 15, 0.08);
  --shadow-large: 0 20px 60px rgba(15, 15, 15, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 400; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }

p { margin-bottom: 1rem; color: var(--ink-soft); }

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

a:hover { opacity: 0.65; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-block;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section) 0; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: 1320px;
  margin: 0 auto;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  padding: 4px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.logo-link:hover .logo-img {
  transform: rotate(-6deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.nav a:hover { color: var(--ink); opacity: 1; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 0.5rem 1rem 0.5rem 1.1rem;
  transition: all 0.25s var(--ease);
}

.cart-btn:hover {
  background: var(--white);
  border-color: var(--ink);
  transform: translateY(-1px);
  opacity: 1;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font-mono);
}

.cart-count.empty { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 820px) {
  .nav a:not(.cart-btn) { display: none; }
  .menu-toggle { display: block; }
  .logo-text { font-size: 1.5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, var(--warm-pale) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, var(--cream-soft) 0%, transparent 50%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; }
}

.hero-text .eyebrow { margin-bottom: 1.5rem; }

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 400;
}

.hero-text h1 .accent {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.55em;
  color: var(--warm);
  display: inline-block;
  line-height: 0.85;
  letter-spacing: -0.01em;
  margin-top: 0.3em;
  padding-left: 0.1em;
}

.hero-text .lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-pill);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, var(--white) 0%, var(--warm-pale) 75%, var(--cream-deep) 100%);
  box-shadow: var(--shadow-large);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(138, 106, 71, 0.3);
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.hero-visual-art {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(15, 15, 15, 0.12));
}

/* Animated reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.9s var(--ease) forwards;
}

.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.25s; }
.reveal-3 { animation-delay: 0.4s; }
.reveal-4 { animation-delay: 0.55s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--warm-deep);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-warm {
  background: var(--warm);
  color: var(--white);
}

.btn-warm:hover {
  background: var(--warm-deep);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-link {
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
  font-family: inherit;
  font-weight: 500;
}

/* ==========================================================================
   Products
   ========================================================================== */

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head .eyebrow { margin-bottom: 1rem; }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-large);
  opacity: 1;
}

.product-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(138, 106, 71, 0.04));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: var(--radius-md);
}

.product-card:hover .product-image::after { opacity: 1; }

.product-image-art {
  width: 70%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(138, 106, 71, 0.15));
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  padding: 0.4rem 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-pill);
  z-index: 3;
  border: 1px solid var(--line);
}

.product-tag.luxe {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0 0.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin: 0;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  white-space: nowrap;
  color: var(--warm);
}

/* ==========================================================================
   Story / About
   ========================================================================== */

.story {
  background: var(--cream);
  text-align: center;
  border-radius: var(--radius-xl);
  margin: 0 var(--gutter);
}

@media (max-width: 600px) {
  .story { border-radius: var(--radius-lg); margin: 0 1rem; }
}

.story-inner {
  max-width: 760px;
  margin: 0 auto;
}

.story h2 {
  margin: 1.5rem 0 2rem;
}

.story h2 em {
  font-family: var(--font-script);
  color: var(--warm);
  font-style: normal;
  font-size: 1.2em;
  font-weight: 400;
}

.story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==========================================================================
   Product Detail
   ========================================================================== */

.product-detail {
  padding: 3rem 0 var(--section);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

.product-detail-image {
  position: relative;
  aspect-ratio: 1/1;
  background:
    radial-gradient(circle at 35% 35%, var(--warm-pale) 0%, transparent 60%),
    var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-medium);
}

.product-detail-art {
  width: 70%;
  filter: drop-shadow(0 15px 30px rgba(138, 106, 71, 0.2));
}

.product-detail-info .eyebrow { margin-bottom: 1rem; }

.product-detail-info h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.product-detail-info .price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--warm);
  margin-bottom: 2rem;
  display: block;
}

.product-detail-info .description {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-meta {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-meta-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.4rem;
}

.product-meta-item .value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.qty-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--cream);
}

.qty-control button {
  width: 44px;
  height: 100%;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s var(--ease);
  border-radius: var(--radius-pill);
}

.qty-control button:hover { background: var(--white); }

.qty-control input {
  width: 50px;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  background: transparent;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-to-cart-btn {
  flex: 1;
}

/* ==========================================================================
   Cart Drawer
   ========================================================================== */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(15, 15, 15, 0.1);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-drawer.open { transform: translateX(0); }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(2px);
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
}

.cart-close {
  background: var(--cream);
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.85rem;
  font-size: 1.4rem;
  border-radius: var(--radius-pill);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}

.cart-close:hover { background: var(--cream-deep); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem var(--gutter);
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-mute);
}

.cart-empty .script {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--warm);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image svg { width: 60%; }

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  background: var(--cream);
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-pill);
}

.cart-item-qty button:hover { background: var(--white); }

.cart-item-qty span {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--ink-mute);
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  width: 30px;
  height: 30px;
}

.cart-item-remove:hover { color: var(--berry); background: var(--cream); }

.cart-item-line-total {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  display: block;
  text-align: right;
  color: var(--warm);
}

.cart-footer {
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
}

.cart-totals {
  margin-bottom: 1.25rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cart-total-row.grand {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  color: var(--ink);
}

.cart-total-row.grand span:last-child { color: var(--warm); }

.checkout-btn { width: 100%; }

/* ==========================================================================
   Checkout
   ========================================================================== */

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 0 var(--section);
}

@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
}

.checkout-form h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.checkout-form .lede { color: var(--ink-mute); margin-bottom: 2.5rem; }

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-row.cols-3 { grid-template-columns: 2fr 1fr 1fr; }
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--warm);
  box-shadow: 0 0 0 3px var(--warm-pale);
}

.form-field .error-text {
  color: var(--berry);
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-field.has-error input { border-color: var(--berry); }
.form-field.has-error .error-text { display: block; }

.checkout-summary {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 100px;
}

.checkout-summary h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.summary-totals {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Bedankt
   ========================================================================== */

.thanks {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section) var(--gutter);
}

.thanks-inner { max-width: 540px; }

.thanks .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-pill);
  background: var(--warm);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
}

.thanks h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.thanks h1 .script {
  color: var(--warm);
  font-size: 1.2em;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal {
  padding: 4rem 0 var(--section);
}

.legal h1 { margin-bottom: 0.5rem; }
.legal .eyebrow { margin-bottom: 1rem; }
.legal .updated { color: var(--ink-mute); margin-bottom: 3rem; font-size: 0.9rem; }

.legal h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}

.legal h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin: 1.5rem 0 0.5rem;
}

.legal p, .legal li {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  margin-top: 2rem;
}

.site-footer a { color: var(--white); opacity: 0.7; }
.site-footer a:hover { opacity: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
}

.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.85rem;
  margin-bottom: 1rem;
  color: var(--warm-soft);
  line-height: 1;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--warm-soft);
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--white);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s var(--ease);
  pointer-events: none;
  box-shadow: var(--shadow-large);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
