/* ============================================================
   MEERWERT KUONEN – main.css
   Bearbeite Farben, Schriften und Abstände hier
   ============================================================ */

:root {
  --forest:      #2d4a3e;
  --stone:       #7a6e65;
  --cream:       #f5f0e8;
  --warm-white:  #faf8f4;
  --accent:      #b5874a;
  --text:        #1e1e1e;
  --text-light:  #5a5650;
  --border:      #ddd8ce;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w:  1100px;
  --nav-h:  72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-weight: 400; }

p { max-width: 680px; }
.lead { font-size: 1.15rem; color: var(--text-light); line-height: 1.85; }
.muted { color: var(--text-light); }
.muted-light { color: rgba(245,240,232,.75); }
.small { font-size: .93rem; }
.italic { font-style: italic; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.mt-md { margin-top: 1.5rem; }
.mt-xl { margin-top: 3rem; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--forest); color: var(--cream); }
.page-offset { height: var(--nav-h); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ── Section header ─────────────────────────────────────────── */
.section-header { margin-bottom: 4rem; }
.section-header.centered { max-width: 600px; margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 1rem; display: block;
}
.eyebrow-light { color: var(--accent); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: block; margin-bottom: 1rem; }

/* ── Navigation ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,248,244,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--forest); letter-spacing: .02em;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: .5rem .9rem;
  font-size: .83rem; font-weight: 500; color: var(--text);
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--accent); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px; background: white;
  border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: block; padding: .65rem 1.2rem;
  font-size: .85rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--cream); color: var(--forest); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: .5rem; background: none; border: none;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: .85rem 2.2rem;
  font-size: .85rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all .2s; font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: white; }
.btn-dark { background: var(--forest); color: white; border-color: var(--forest); }
.btn-dark:hover { background: transparent; color: var(--forest); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--forest); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(181,135,74,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  max-width: var(--max-w); margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
}
.hero-eyebrow {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem; font-weight: 500; display: block;
}
.hero h1 { color: white; font-weight: 300; font-style: italic; max-width: 800px; margin-bottom: 2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(245,240,232,.75); max-width: 540px; margin-bottom: 3rem; }
.hero-divider { width: 60px; height: 1px; background: var(--accent); margin: 2rem 0; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; margin-bottom: 3rem; }
.hero-focus { display: flex; gap: 3rem; color: rgba(245,240,232,.8); font-size: .9rem; flex-wrap: wrap; }
.hero-focus strong { display: block; color: white; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; margin-bottom: .3rem; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: white; border: 1px solid var(--border); padding: 2.5rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .8rem; color: var(--forest); font-size: 1.2rem; }
.card p { color: var(--text-light); font-size: .95rem; }

/* ── Angebot offer cards ─────────────────────────────────────── */
.offer-card {
  background: white; border: 1px solid var(--border);
  padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.offer-card .tag {
  display: inline-block; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; background: var(--cream); color: var(--stone);
  padding: .3rem .8rem; border-radius: 2px; width: fit-content;
}
.offer-card h3 { color: var(--forest); font-size: 1.3rem; }
.offer-card p { color: var(--text-light); font-size: .93rem; max-width: none; }
.offer-card ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.offer-card ul li {
  font-size: .93rem; color: var(--text-light);
  padding-left: 1.2rem; position: relative;
}
.offer-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ── Price grid ─────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 700px; margin-bottom: 2rem; }
.price-card { padding: 2rem; border: 1px solid var(--border); background: white; }
.price-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: .8rem; }
.price-amount { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); font-weight: 300; }
.price-amount small { font-size: 1rem; color: var(--text-light); }

/* ── Target groups ───────────────────────────────────────────── */
.target-groups .target-group { padding: 2rem 0; }
.target-groups .target-group:nth-child(2) {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding-left: 2rem; padding-right: 2rem;
}
.target-groups h3 { color: var(--forest); margin-bottom: .8rem; }
.target-groups p { color: var(--text-light); font-size: .95rem; }

/* ── Standorte ───────────────────────────────────────────────── */
.address-grid { display: flex; gap: 3rem; margin-top: 2.5rem; flex-wrap: wrap; }
.address-label { color: var(--accent); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .3rem; }
.address-text { color: rgba(245,240,232,.7); font-size: .9rem; line-height: 1.8; }
.pullquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: rgba(245,240,232,.5); line-height: 1.4;
}

/* ── Methoden ────────────────────────────────────────────────── */
.methoden-list { display: flex; flex-direction: column; }
.methode-item {
  display: grid; grid-template-columns: 70px 1fr;
  gap: 2rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.methode-item:first-child { border-top: 1px solid var(--border); }
.methode-nr { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--accent); line-height: 1; }
.methode-body h3 { margin-bottom: .6rem; color: var(--forest); }
.methode-body p { color: var(--text-light); font-size: .95rem; max-width: 640px; }

/* ── Quote block ─────────────────────────────────────────────── */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  background: rgba(181,135,74,.06);
  margin: 2rem 0;
}
.quote-block p {
  font-family: var(--font-display); font-size: 1.3rem;
  font-style: italic; color: var(--forest); line-height: 1.6; max-width: none;
}

/* ── Über mich ───────────────────────────────────────────────── */
.photo-placeholder {
  background: var(--forest); aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-family: var(--font-display);
  font-size: 1.2rem; font-style: italic;
  overflow: hidden;
}
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* ── Timeline ────────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:first-child { border-top: 1px solid var(--border); }
.timeline-year { font-family: var(--font-display); font-size: 1rem; color: var(--accent); font-weight: 400; padding-top: .1rem; }
.timeline-body h4 { margin-bottom: .4rem; color: var(--forest); }
.timeline-body p { color: var(--text-light); font-size: .93rem; max-width: none; }

/* ── Services ────────────────────────────────────────────────── */
.download-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem; border: 1px solid var(--border);
  background: white; margin-bottom: 1rem; transition: border-color .2s;
}
.download-item:hover { border-color: var(--accent); }
.download-icon { font-size: 2rem; flex-shrink: 0; }
.download-body { flex: 1; }
.download-body h4 { margin-bottom: .2rem; font-size: 1rem; font-family: var(--font-body); font-weight: 500; }
.download-body p { font-size: .88rem; color: var(--text-light); max-width: none; }

.link-list { display: flex; flex-direction: column; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0; border-bottom: 1px solid var(--border);
  font-size: .95rem; transition: color .2s;
}
.link-list a:first-child { border-top: 1px solid var(--border); }
.link-list a:hover { color: var(--accent); }
.link-list a span { font-size: 1.2rem; }

/* ── Kontakt ─────────────────────────────────────────────────── */
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {}
.contact-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: .3rem; }
.contact-value { font-size: 1.1rem; color: var(--forest); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: .5rem; color: var(--stone); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--border);
  background: white; font-family: var(--font-body);
  font-size: 1rem; color: var(--text);
  transition: border-color .2s; outline: none;
  appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--forest); }
.form-group textarea { height: 160px; resize: vertical; }

/* ── Prose (Impressum, etc.) ─────────────────────────────────── */
.prose { max-width: 700px; }
.prose h2, .prose h3 { color: var(--forest); margin-top: 2rem; margin-bottom: .6rem; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose p { color: var(--text-light); font-size: .95rem; margin-bottom: 1rem; max-width: none; }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.prose em { font-style: italic; }
.prose strong { font-weight: 500; color: var(--text); }

/* ── Footer ──────────────────────────────────────────────────── */
footer { background: var(--forest); color: rgba(245,240,232,.7); padding: 4rem 0 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
footer h4 { color: white; font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; margin-bottom: 1.2rem; }
footer p, footer a { font-size: .9rem; line-height: 1.8; display: block; }
footer a:hover { color: var(--accent); }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: white; margin-bottom: .8rem; }
.footer-quote { font-style: italic; font-family: var(--font-display); font-size: 1rem; color: rgba(245,240,232,.4); margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  font-size: .82rem; display: flex; justify-content: space-between; align-items: center;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4, .price-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: white; flex-direction: column; align-items: flex-start;
    padding: 2rem; overflow-y: auto; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: .8rem 0; font-size: .95rem; }
  .dropdown {
    position: static; opacity: 1; pointer-events: all;
    transform: none; box-shadow: none; border: none;
    border-left: 2px solid var(--accent);
    padding-left: 1rem; margin: .5rem 0 1rem;
  }
  .hero-focus { flex-direction: column; gap: 1.5rem; }
  .methode-item { grid-template-columns: 40px 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: .5rem; }
  .target-groups .target-group:nth-child(2) { border: none; padding-left: 0; padding-right: 0; }
  .download-item { flex-wrap: wrap; }
  .address-grid { flex-direction: column; gap: 1.5rem; }
}
