/* Kräutergarten Lenz — infalraffo.yachts
   Organic leaf-green herb nursery system */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,650;6..72,700&display=swap");

:root {
  --leaf: #3a8f4a;
  --leaf-deep: #1e5c32;
  --leaf-soft: #5cb06a;
  --moss: #8fbc6b;
  --chlorophyll: #c8e6b8;
  --dew: #f0f7eb;
  --soil: #1a2f1c;
  --ink: #152018;
  --muted: #4d5f4e;
  --line: rgba(30, 92, 50, 0.16);
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(26, 47, 28, 0.12);
  --radius: 4px;
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(143, 188, 107, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 0% 20%, rgba(58, 143, 74, 0.12), transparent 50%),
    linear-gradient(180deg, var(--dew) 0%, #e8f3e0 40%, #dfeede 100%);
  min-height: 100vh;
}

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

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--leaf);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.2;
  color: var(--soil);
  margin: 0 0 0.55em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 47, 28, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 90;
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 247, 235, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--leaf-deep);
  text-decoration: none;
  letter-spacing: -0.015em;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  background: linear-gradient(145deg, var(--moss) 0%, var(--leaf) 40%, var(--leaf-deep) 100%);
  flex-shrink: 0;
  animation: leafSway 6s ease-in-out infinite;
}

@keyframes leafSway {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--leaf-deep);
  color: var(--leaf-deep);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  border-radius: var(--radius);
}

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

.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--soil);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--leaf-deep);
  border-bottom-color: var(--moss);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--leaf-deep);
  border-color: var(--leaf);
  padding: 0.55rem 1rem;
}

.btn-ghost:hover {
  background: var(--chlorophyll);
  color: var(--leaf-deep);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(90vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroBreathe 20s ease-in-out infinite alternate;
}

@keyframes heroBreathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(26, 47, 28, 0.9) 0%, rgba(30, 92, 50, 0.58) 50%, rgba(26, 47, 28, 0.3) 100%),
    linear-gradient(0deg, rgba(26, 47, 28, 0.78) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 36rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  font-weight: 700;
  color: var(--moss);
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
  animation: riseIn 0.8s ease both;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
  animation: riseIn 0.9s ease 0.08s both;
}

.hero-content > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  max-width: 32rem;
  animation: riseIn 1s ease 0.16s both;
}

.hero .btn-group {
  animation: riseIn 1.05s ease 0.22s both;
}

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

/* Sections */
section {
  padding: 4.25rem 0;
}

.section-header {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

.bg-panel {
  background:
    radial-gradient(circle at 12% 20%, rgba(143, 188, 107, 0.18), transparent 40%),
    linear-gradient(180deg, #e6f2dc 0%, var(--dew) 100%);
  border-block: 1px solid var(--line);
}

.bg-leaf {
  background: linear-gradient(140deg, var(--leaf-deep) 0%, var(--soil) 100%);
  color: rgba(255, 255, 255, 0.9);
}

.bg-leaf h2,
.bg-leaf h3 {
  color: var(--white);
}

.bg-leaf .section-label {
  color: var(--moss);
}

.bg-leaf p {
  color: rgba(255, 255, 255, 0.88);
}

/* Pillars — reference-style specials */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar {
  padding: 1.6rem 1.45rem;
  background: rgba(255, 255, 255, 0.62);
  border-top: 3px solid var(--leaf);
  transition: transform 0.25s, background 0.25s;
}

.pillar:hover {
  transform: translateY(-3px);
  background: var(--white);
}

.pillar h3 {
  margin-bottom: 0.45rem;
}

.pillar p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.bg-leaf .pillar {
  background: rgba(255, 255, 255, 0.08);
  border-top-color: var(--moss);
}

.bg-leaf .pillar h3 {
  color: var(--white);
}

.bg-leaf .pillar p {
  color: rgba(255, 255, 255, 0.82);
}

/* Find grid */
.find-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.find-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.find-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  transition: transform 0.45s ease;
}

.find-card:hover img {
  transform: scale(1.03);
}

.find-card h3 {
  margin-bottom: 0.35rem;
  color: var(--leaf-deep);
}

.find-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

/* Season strip */
.season-list {
  display: grid;
  gap: 1rem;
}

.season-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.season-item:last-child {
  border-bottom: none;
}

.season-when {
  font-weight: 800;
  color: var(--moss);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.season-item h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.season-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Plant catalogue */
.plant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.plant-block {
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  border-radius: var(--radius);
}

.plant-block img {
  width: 100%;
  aspect-ratio: 5 / 3.4;
  object-fit: cover;
}

.plant-block-body {
  padding: 1.25rem 1.2rem 1.4rem;
}

.plant-block h3 {
  margin-bottom: 0.4rem;
}

.plant-block p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  background: var(--chlorophyll);
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
}

/* Herb list */
.herb-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.herb-group h3 {
  border-bottom: 2px solid var(--leaf);
  padding-bottom: 0.45rem;
  margin-bottom: 0.85rem;
}

.herb-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.herb-group li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.herb-group li strong {
  color: var(--soil);
  font-weight: 600;
}

/* About timeline */
.story-steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.story-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--leaf);
  line-height: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  margin: 0;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-top: 1rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  color: var(--soil);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.85rem 0 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--leaf-soft);
  outline-offset: 1px;
  border-color: var(--leaf);
}

.contact-form button {
  margin-top: 1.15rem;
}

.form-success {
  background: var(--chlorophyll);
  color: var(--leaf-deep);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hours-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.5rem;
  margin: 1rem 0 0;
  max-width: 22rem;
}

.hours-inline dt {
  color: var(--muted);
}

.hours-inline dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

/* Page hero */
.page-hero {
  padding: 3.1rem 0 2.4rem;
  background:
    linear-gradient(125deg, rgba(30, 92, 50, 0.92), rgba(58, 143, 74, 0.72)),
    url("../images/herb-pots.jpg") center/cover;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin: 0;
}

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

.legal-content .updated {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content code {
  font-size: 0.88em;
  background: var(--chlorophyll);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
}

/* Footer */
.site-footer {
  background: var(--soil);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.25rem 0 1.75rem;
  margin-top: 0;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.site-footer h4 {
  color: var(--moss);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

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

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--moss);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--soil);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 0;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

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

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-inner a {
  color: var(--moss);
}

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

.cookie-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.cookie-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(26, 47, 28, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-dialog {
  background: var(--dew);
  color: var(--ink);
  max-width: 440px;
  width: 100%;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-modal-dialog h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.cookie-option input {
  margin-top: 0.25rem;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 900px) {
  .pillar-grid,
  .find-grid,
  .plant-grid,
  .footer-grid,
  .contact-grid,
  .herb-columns,
  .split {
    grid-template-columns: 1fr;
  }

  .split-reverse {
    direction: ltr;
  }

  .season-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    background: var(--dew);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 95;
    border-left: 1px solid var(--line);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .main-nav a {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: min(85vh, 640px);
  }

  .find-grid,
  .plant-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
