/* Het Ambachtelijke Broodje — premium fast casual */

:root {
  --bg: #0f0f10;
  --bg-elevated: #161618;
  --surface: #1c1c1f;
  --text: #f4f2ec;
  --text-muted: #a39e93;
  --accent: #d4af67;
  --accent-soft: rgba(212, 175, 103, 0.14);
  --border: rgba(244, 242, 236, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  opacity: 0.85;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15, 15, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), #8f6b2e);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg);
  font-family: var(--font-body);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.65rem;
  color: var(--text);
  cursor: pointer;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-main a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a.is-active {
  color: var(--text);
}

.nav-main a.is-active {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b8924a);
  color: var(--bg);
  box-shadow: 0 12px 40px rgba(212, 175, 103, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(212, 175, 103, 0.36);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 175, 103, 0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  animation: fadeUp 0.85s var(--ease-out) 0.06s both;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 36ch;
  margin: 0 0 1.75rem;
  animation: fadeUp 0.9s var(--ease-out) 0.12s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.95s var(--ease-out) 0.18s both;
}

.hero-meta {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease-out) 0.22s both;
}

.hero-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.15rem;
}

.hero-meta dd {
  margin: 0;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  animation: fadeUp 1s var(--ease-out) 0.15s both;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 103, 0.18), transparent 55%);
  z-index: -1;
  pointer-events: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 103, 0.35);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial img.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  display: block;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.testimonial p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

input,
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(212, 175, 103, 0.45);
  color: var(--text);
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Page hero compact */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(212, 175, 103, 0.15), transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.65rem;
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
}

/* Locations table-ish */
.loc-list {
  display: grid;
  gap: 1rem;
}

.loc-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.loc-row strong {
  font-size: 1.05rem;
}

.loc-row span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Legal prose */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.prose p,
.prose ul {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease-out);
}

.wa-fab:hover {
  transform: scale(1.06);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-settings-panel {
  display: none;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.cookie-settings-panel.is-open {
  display: block;
}

.cookie-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

/* Modal overlay for cookie settings - inline expansion */

body.cookie-modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

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

  .loc-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-main {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(15, 15, 16, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
  }

  .nav-main.is-open {
    max-height: 420px;
  }

  .nav-main ul {
    flex-direction: column;
    padding: 1.25rem 4vw 1.75rem;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-cta {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
