/* =====================================================================
   LindenerWeinLogistik UG (haftungsb.) & Co. KG  –  base.css
   Markenfarben aus dem Logo: Grün #548B51, Dunkelblau #16224F, Grau #555555
   No-build statische Seite (öffnet direkt via file://).
   ===================================================================== */

:root {
  /* Markenfarben */
  --green:        #548B51;
  --green-dark:   #3d6b3a;
  --green-deeper: #2e5330;
  --green-light:  #eaf2e7;
  --navy:         #16224F;
  --navy-dark:    #0f1836;
  --grey:         #555555;
  --muted:        #6b6b6b;

  /* Neutrale */
  --text:        #262626;
  --surface:     #ffffff;
  --surface-alt: #f7f5f0;
  --surface-green:#eef4ec;
  --line:        #e6e2d9;

  /* Form */
  --radius:    14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(22, 34, 79, .06);
  --shadow:    0 10px 30px rgba(22, 34, 79, .10);

  --max: 1160px;

  --font-head: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--surface-alt); color: var(--navy); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 64px; width: auto; }
.brand-text { font-family: var(--font-head); color: var(--navy); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--green); }
.nav .cta { margin-left: 6px; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,24,54,.88) 0%, rgba(15,24,54,.55) 45%, rgba(84,139,81,.25) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 90px 0; max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cfe3c8;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero p.lead { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface-alt); }
.section-green { background: var(--surface-green); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards (Leistungen) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--green-dark); }
.card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.split p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 96px 0;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(15,24,54,.82), rgba(15,24,54,.82));
}
.cta-band-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.2rem; }
.contact-info address { font-style: normal; color: var(--muted); margin-bottom: 20px; }
.contact-info address strong { color: var(--navy); display: block; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; color: var(--muted); }
.contact-row svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--green-dark); margin-top: 3px; }
.contact-row a { color: var(--text); }
.contact-row a:hover { color: var(--green-dark); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; color: var(--text);
  margin-bottom: 16px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: .8rem; color: var(--muted); margin-top: -6px; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: var(--font-head); color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.footer-about { font-size: .9rem; max-width: 340px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.credits { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 4px; }
.credits a { color: rgba(255,255,255,.5); }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 820px; padding-top: 60px; padding-bottom: 80px; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal .muted-note { background: var(--surface-green); border-radius: var(--radius); padding: 16px 20px; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
               background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 14px; align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .section { padding: 60px 0; }
}
