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

:root {
  --bg:          #00946c;
  --bg-mid:      #243d32;
  --bg-light:    #2c4a3a;
  --bg-card:     #223828;
  --accent:      #4a9060;
  --accent2:     #f93838;
  --text:        #dceee8;
  --text-dim:    #ffffff;
  --text-muted:  #6a9a88;
  --white:       #f0faf5;
  --border:      rgba(74,144,96,0.25);
  --shadow:      rgba(0,0,0,0.35);
  --radius:      10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 2.5rem;
  background: rgba(18, 36, 26, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 36px; width: auto; }

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-dim);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent2); }

.nav-cta {
  padding: 0.5rem 1.4rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent2) !important; color: var(--bg) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('pictures/backgrounds/teichoben1.jpg') center/cover no-repeat;
  opacity: 0.70;
}


.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-logo { margin: 0 auto 1.5rem; }
.hero-logo img { height: 56px; filter: brightness(1.3) drop-shadow(0 2px 12px rgba(0,0,0,0.5)); }

.hero-year {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 300; line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.hero h1 strong {
  font-weight: 700; color: var(--accent2);
  display: block;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300; color: var(--text-dim);
  font-style: italic; margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: 0.97rem; color: var(--text-dim);
  max-width: 620px; margin: 1rem auto 2.2rem;
  line-height: 1.75;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-green {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 18px rgba(74,144,96,0.4);
}

.btn-green:hover { background: var(--accent2); color: var(--bg); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid rgba(220,238,232,0.4); color: var(--text);
}

.btn-outline:hover { border-color: var(--accent2); color: var(--accent2); }

.hero-photo {
  position: relative; z-index: 1;
  width: 100%; max-width: 780px;
  border-radius: 14px; overflow: hidden;
  margin: 2.5rem auto 0;
  box-shadow: 0 16px 48px var(--shadow);
}

.hero-photo img { width: 100%; height: 340px; object-fit: cover; }

/* ── PARALLAX BANNERS ── */
.parallax-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/*
 * .parallax-bg is a full-bleed image layer that sits behind the caption.
 * It is taller than its container (set via JS on init) so the JS scroll
 * handler can shift it upward without revealing the background colour.
 * No background-attachment:fixed — that API is broken on iOS Safari.
 */
.parallax-bg {
  position: absolute;
  left: 0; right: 0;
  /* top/height are set by JS; these are safe fallbacks */
  top: -30%; height: 160%;
  background-size: contain;
  background-position: center center;
  background-color: #0a1a10;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}

.parallax-banner-1 .parallax-bg { background-image: url('pictures/backgrounds/Koi_main_1_850.jpg'); }
.parallax-banner-2 .parallax-bg { background-image: url('pictures/backgrounds/Koi_main_2_850.jpg'); }
.parallax-banner-3 .parallax-bg { background-image: url('pictures/backgrounds/Koi_main_3_850.jpg'); }

/* dark tint so caption text stays readable */
.parallax-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14,28,20,0.70) 0%, rgba(26,52,38,0.52) 100%);
  pointer-events: none;
  z-index: 1;
}

.parallax-caption {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
  max-width: 680px;
}

.parallax-caption h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 300; color: var(--white);
  line-height: 1.25; margin-bottom: 0.7rem;
}

.parallax-caption h2 strong { font-weight: 700; color: var(--accent2); }

.parallax-caption p {
  font-size: 0.97rem; color: rgba(220,238,232,0.85);
  line-height: 1.7;
}

/* ── TRUST ICONS ── */
.trust {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.6rem 2rem;
}

.trust-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}

.trust-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.6rem;
}

.trust-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

.trust-item strong {
  font-size: 0.82rem; font-weight: 700;
  color: var(--accent2); letter-spacing: 0.02em;
  line-height: 1.3;
}

.trust-item span { font-size: 0.75rem; color: var(--text-muted); }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300; color: var(--white);
  line-height: 1.25; margin-bottom: 0.8rem;
}

.section-title strong { font-weight: 700; }

.section-lead {
  font-size: 0.97rem; color: var(--text-dim);
  max-width: 620px; margin-bottom: 3rem;
}

/* ── 6 BUTTON PANELS ── */
.panels { background: var(--bg); }

.panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.panel-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
}

.panel-btn:hover, .panel-btn.active {
  background: var(--bg-light);
  border-color: var(--accent);
}

.panel-btn-icon { font-size: 1.6rem; flex-shrink: 0; }

.panel-btn-text strong {
  display: block; font-size: 0.9rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.15rem;
}

.panel-btn-text span { font-size: 0.78rem; color: var(--text-muted); }

.panel-btn-arrow {
  margin-left: auto; flex-shrink: 0;
  color: var(--accent); font-size: 1rem;
  transition: transform 0.2s;
}

.panel-btn.active .panel-btn-arrow { transform: rotate(90deg); }

/* panel content drawers */
.panel-content {
  display: none;
  margin-top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-content.open { display: block; }

.panel-content-inner {
  padding: 2.2rem 2.4rem;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem;
  align-items: start;
}

.panel-content-inner.single { grid-template-columns: 1fr; }

.panel-content img {
  width: 100%; border-radius: 8px;
  object-fit: cover; max-height: 320px;
}

.panel-text h3 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.8rem;
}

.panel-text p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 0.9rem; }

.panel-text .contact-highlight {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.4rem;
  font-weight: 600; color: var(--accent2); font-size: 0.9rem;
}

/* product cards inside panels */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-top: 1.2rem;
}

.product-card {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  transition: border-color 0.2s, background 0.2s;
}

.product-card:hover { border-color: var(--accent); background: var(--bg-light); }

.product-card h4 {
  font-size: 0.9rem; font-weight: 700;
  color: var(--accent2); margin-bottom: 0.4rem;
}

.product-card p {
  font-size: 0.78rem; color: var(--text-muted);
  line-height: 1.55; margin-bottom: 0.7rem;
}

.product-link {
  font-size: 0.75rem; font-weight: 700;
  color: var(--accent2); letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.product-link:hover { border-color: var(--accent2); }

/* set-price table */
.set-table {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
  font-size: 0.82rem;
}

.set-table th {
  text-align: left; padding: 0.5rem 0.8rem;
  background: var(--bg-light); color: var(--accent2);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}

.set-table td { padding: 0.6rem 0.8rem; color: var(--text-dim); border-bottom: 1px solid var(--border); }

.set-table tr:last-child td { border-bottom: none; }

.set-price { font-weight: 700; color: var(--white); }

/* ── ABOUT / RICHARD ── */
.about { background: var(--bg-mid); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem; align-items: center;
}

.about-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 12px 40px var(--shadow);
}

.about-img img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

.about-text h2 { margin-bottom: 1rem; }

.about-text p { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 0.9rem; }

.about-contact {
  display: flex; flex-direction: column; gap: 0.7rem;
  margin-top: 1.5rem;
}

.about-contact a {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; font-weight: 600; color: var(--accent2);
  transition: color 0.2s;
}

.about-contact a:hover { color: var(--white); }

.contact-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}


/* ── FOOTER ── */
footer {
  background: #101e16;
  padding: 2.5rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
}

.footer-logo img { height: 32px; margin-bottom: 0.8rem; filter: brightness(0.9); }

.footer-col p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent2);
  margin-bottom: 0.8rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent2); }

.footer-bottom {
  max-width: 1100px; margin: 1.5rem auto 0;
  padding-top: 1rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}

.footer-bottom p, .footer-bottom a {
  font-size: 0.75rem; color: var(--text-muted);
}

.footer-bottom a:hover { color: var(--accent2); }

/* ── HAMBURGER BUTTON (mobile only) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-hamburger:hover { background: rgba(255,255,255,0.08); }

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

/* animated X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 55px; left: 0; right: 0;
  background: rgba(14, 28, 20, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 1.2rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1rem; font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--accent2); }

.nav-drawer .nav-cta {
  margin-top: 1rem;
  display: block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px;
  border-bottom: none;
}

.nav-drawer .nav-cta:hover { background: var(--accent2) !important; }

/* ── TABLET (≤ 900 px) ── */
@media (max-width: 900px) {
  .panels-grid          { grid-template-columns: 1fr 1fr; }
  .about-grid           { grid-template-columns: 1fr; }
  .footer-inner         { grid-template-columns: 1fr 1fr; }
  .panel-content-inner  { grid-template-columns: 1fr; }
  .panel-content-inner  { padding: 1.6rem 1.4rem; }

  .parallax-banner { height: 420px; }

  .hero-photo img  { height: 260px; }
  .section         { padding: 3.5rem 1.5rem; }
}

/* ── MOBILE (≤ 640 px / iPhone) ── */
@media (max-width: 640px) {
  /* nav */
  nav              { padding: 0.7rem 1.2rem; }
  .nav-links       { display: none; }   /* desktop links hidden; drawer used instead */
  .nav-hamburger   { display: flex; }

  /* hero */
  .hero            { padding: 5.5rem 1.2rem 3rem; min-height: auto; }
  .hero-logo img   { height: 44px; }
  .koi-swim        { display: none; } /* hide swimming koi — too distracting on small screens */
  .hero-photo img  { height: 200px; }
  .hero-btns       { flex-direction: column; align-items: center; }
  .btn             { width: 100%; max-width: 320px; text-align: center; }

  /* trust */
  .trust           { padding: 2rem 1.2rem; }
  .trust-grid      { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* panels */
  .section         { padding: 3rem 1.2rem; }
  .panels-grid     { grid-template-columns: 1fr; }
  .panel-btn       { padding: 1rem 1.1rem; }
  .panel-btn-text strong { font-size: 0.85rem; }
  .product-cards   { grid-template-columns: 1fr; }

  /* price table — make it scrollable rather than squished */
  .set-table       { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* parallax banners */
  .parallax-banner  { height: 220px; }
  .parallax-caption { padding: 1.2rem; }
  .parallax-caption h2 { font-size: 1.15rem; }
  .parallax-caption p  { font-size: 0.82rem; }

  /* about */
  .about-grid      { gap: 2rem; }

  /* footer */
  .footer-inner    { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom   { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ── SMALL PHONES (≤ 380 px) ── */
@media (max-width: 380px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .trust-icon { width: 46px; height: 46px; font-size: 1.2rem; }
  .trust-item strong { font-size: 0.75rem; }
}
