/* Gartengestaltung Krahwinkel – Viersen
   Redesign 2026 · gemeinsames Stylesheet für alle Seiten */

:root {
  --brand: #0b4a2c;
  --brand-dark: #073521;
  --brand-darker: #052717;
  --brand-light: #e8f0e9;
  --brand-light-2: #f4f8f3;
  --gold: #c79a3f;
  --gold-dark: #8a6a1e;
  --gold-light: #f6ecd4;
  --ink: #16201a;
  --muted: #57645c;
  --bg: #f9faf7;
  --white: #ffffff;
  --border: #e2e8e0;
  --shadow: 0 20px 40px -20px rgba(11, 32, 20, 0.28);
  --shadow-sm: 0 8px 20px -12px rgba(11, 32, 20, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Plus Jakarta Sans", system-ui, serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.35rem + 1.1vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); }

p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--brand); }
ul { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--brand-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-on-dark {
  background: #fff;
  color: var(--brand-darker);
}
.btn-on-dark:hover { background: var(--brand-light); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 250, 247, 0.98);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand .brand-name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--brand);
}
.brand .brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-primary ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav-primary a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--brand);
  border-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-pill svg { flex-shrink: 0; color: var(--brand); }

.nav-toggle {
  display: none;
  background: var(--brand-light);
  border: none;
  border-radius: 10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { color: var(--brand-darker); }

@media (max-width: 900px) {
  .nav-primary { position: fixed; inset: 84px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 20px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; overflow-y: auto; }
  .nav-primary.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-primary ul { flex-direction: column; gap: 4px; }
  .nav-primary a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .header-actions .phone-pill span { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 460px) {
  .brand .brand-sub { display: none; }
  .brand .brand-name { font-size: 1.25rem; }
  .site-header .container { min-height: 68px; }
  .nav-primary { inset: 68px 0 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  color: var(--brand-darker);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(5,20,12,.75), transparent);
  color: #fff;
  padding: 40px 22px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.page-hero {
  padding: 52px 0 8px;
  text-align: left;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16 / 10; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--brand-light-2); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { font-size: 1.05rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.layout-with-aside {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 960px) { .layout-with-aside { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .services-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid.cols-3 { grid-template-columns: 1fr; } }
.service-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.service-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-card .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand-darker);
  display: flex; align-items: center; justify-content: center;
}
.service-card span { font-weight: 600; font-size: 0.96rem; }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-grid figcaption { padding: 12px 14px; font-size: 0.85rem; color: var(--muted); background: var(--white); }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}
.testimonial .quote-mark {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.testimonial p { color: var(--ink); font-style: italic; }
.testimonial cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-darker);
}
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- Partner / contact card ---------- */
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.partner-card img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--brand-light);
}
.partner-card .role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.partner-card h3 { margin-bottom: 14px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.info-card h3 { margin-bottom: 14px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 0.96rem; }
.info-list svg { flex-shrink: 0; color: var(--brand); margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 1.6em; }
.legal-content h3 { margin-top: 1.2em; }
.legal-content ul { margin: 0 0 1em 1.2em; color: var(--muted); }
.legal-content table { border-collapse: collapse; margin: 1em 0; }
.legal-content td { padding: 4px 14px 4px 0; color: var(--muted); }
.legal-content a { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d7ddd6;
  margin-top: 40px;
}
.footer-top {
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-top h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #9caa97; }
.footer-desc { color: #aab5a5; max-width: 34ch; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { color: #d7ddd6; text-decoration: none; font-size: 0.95rem; }
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #9caa97;
}
.footer-bottom a { color: #9caa97; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
