/* =========================================================
   Weltladen Hengersberg – Stylesheet
   Palette nach Original-Logo: Indigo-Blau · Grün · Gelb · Weiß
   (Token-Namen historisch: --orange = Primär-Blau, --brown = Navy)
   ========================================================= */

:root {
  --orange:        #262a72;   /* Primär: Indigo-Blau (Logo "fair handeln") */
  --orange-dark:   #1b1e54;   /* dunkleres Blau (Hover) */
  --orange-soft:   #e7ebf8;   /* helle Blau-Tönung */
  --blue-bright:   #2b46b0;   /* Links / Akzent-Blau */
  --yellow:        #f2d21a;   /* Logo-Gelb (Akzent, nie als Fließtext) */
  --green:         #0f8a33;   /* Logo-Grün */
  --green-dark:    #0c6f29;
  --green-soft:    #e4f2e6;
  --brown:         #232a4d;   /* Navy für Überschriften/Footer/Nav */
  --ink:           #232634;
  --muted:         #5a6072;
  --cream:         #f7f9fc;   /* kühles Off-White */
  --cream-2:       #eef2f8;
  --white:         #ffffff;
  --line:          #dde3ee;
  --shadow-sm:     0 2px 8px rgba(30, 34, 64, .08);
  --shadow-md:     0 12px 32px rgba(30, 34, 64, .14);
  --radius:        16px;
  --radius-lg:     26px;
  --maxw:          1180px;
  --serif:         "Georgia", "Times New Roman", serif;
  --sans:          "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { overflow-wrap: break-word; }

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

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: var(--orange-dark); }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--brown); font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--alt { background: var(--cream-2); }
.section--green { background: var(--green-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--green-dark);
  margin: 0 0 12px;
}

.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 18px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-family: var(--sans);
  padding: 13px 26px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: 2px solid transparent;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--brown); color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: #fff; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 249, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
@media (max-width: 520px){ .brand img { height: 46px; } }
.brand-fallback { font-family: var(--serif); font-weight: 700; color: var(--orange-dark); font-size: 1.15rem; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--brown); font-weight: 600; font-size: .95rem;
  padding: 9px 12px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--orange-soft); color: var(--orange-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 3px; background: var(--brown); border-radius: 2px; margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0 16px; box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, padding .3s ease, visibility .3s;
  }
  .nav-links.open { max-height: 80vh; overflow: auto; visibility: visible; padding: 8px 16px 18px; }
  .nav-links a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; color: #fff;
  min-height: 82vh; display: flex; align-items: center;
  background: #171a3d;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,23,54,.88) 0%, rgba(20,23,54,.58) 55%, rgba(20,23,54,.28) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 90px 24px; }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem);
  margin: 0 0 8px; text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero h1 .accent { color: var(--yellow); display: block; }
.hero .kicker { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); font-size: .9rem; }
.hero blockquote {
  margin: 26px 0 0; padding: 18px 0 6px 26px;
  border-left: 4px solid var(--yellow);
  font-family: var(--serif); font-size: clamp(1.05rem, 4.4vw, 1.28rem); font-style: italic;
  max-width: min(40ch, 100%); color: #eef1fb;
}
.hero blockquote cite { display: block; margin-top: 10px; font-size: .92rem; font-style: normal; color: var(--orange-soft); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Info strip */
.info-strip { background: var(--brown); color: #d7ddef; }
.info-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.info-strip .col h3 { color: #fff; font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.info-strip a { color: #ffdf70; }
.info-strip p { margin: 0; }
.info-strip .icon { color: var(--yellow); display: inline-flex; }
.info-strip .icon svg { width: 20px; height: 20px; }
@media (max-width: 780px){ .info-strip .wrap { grid-template-columns: 1fr; gap: 22px; } }

/* =========================================================
   Content blocks
   ========================================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.grid-2.narrow { gap: 40px; }
@media (max-width: 860px){ .grid-2 { grid-template-columns: 1fr; gap: 32px; } }

.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 6px solid #fff;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

/* Feature / product list */
.product-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.product-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--brown);
}
.product-list li::before { content: "✓"; color: var(--green); font-weight: 900; font-size: 1.1rem; }

/* Callout / motto */
.motto {
  text-align: center; max-width: 760px; margin: 0 auto;
  background: linear-gradient(135deg, var(--orange) 0%, var(--green) 100%);
  color: #fff; padding: 46px 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.motto blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-style: italic; }
.motto p { margin: 14px 0 0; color: #fff2e3; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px){ .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .num { font-family: var(--serif); font-size: 2.2rem; color: var(--orange); font-weight: 700; }
.card h3 { margin: 6px 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 28px; }
.stat .n { font-family: var(--serif); font-size: 2.6rem; color: var(--orange-dark); font-weight: 700; line-height: 1; }
.stat .l { color: var(--muted); font-weight: 600; }

/* =========================================================
   Slider
   ========================================================= */
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid #fff; }
.slides { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.slides figure { min-width: 100%; margin: 0; position: relative; aspect-ratio: 16/10; background: #eee; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--brown); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.slider__btn:hover { background: #fff; color: var(--orange-dark); }
.slider__btn.prev { left: 14px; } .slider__btn.next { right: 14px; }
.slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.55); }
.slider__dots button[aria-current="true"] { background: var(--orange); transform: scale(1.15); }

/* =========================================================
   Logos grid (Lieferanten / Netzwerke)
   ========================================================= */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 30px; }
.logo-grid a {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; min-height: 120px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.logo-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.logo-grid img { max-height: 78px; width: auto; object-fit: contain; }
.logo-grid a.txt-tile { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--brown); text-align: center; line-height: 1.3; }
.logo-grid a.txt-tile:hover { color: var(--orange-dark); }

/* Network list */
.net-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.net-list li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.net-list h3 { font-family: var(--sans); font-size: 1.08rem; margin: 0 0 6px; color: var(--brown); }
.net-list p { margin: 0 0 8px; color: var(--muted); }

/* Vorstand names */
.board { margin-top: 20px; display: grid; gap: 10px; }
.board .role { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.board .name { font-family: var(--serif); font-size: 1.25rem; color: var(--brown); }

.doc-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--brown); color: #d3daee; padding: 62px 0 26px; }
.site-footer a { color: #ffdf70; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px){ .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; margin: 0 0 14px; }
.site-footer .brand-line { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; color: #a7b0cd; }
.footer-bottom a { color: #a7b0cd; }

/* =========================================================
   Legal pages
   ========================================================= */
.legal { padding: 60px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 2.2rem; margin: 0 0 24px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; color: var(--green-dark); font-family: var(--sans); }
.legal p { margin: 0 0 14px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } html{ scroll-behavior:auto; } }
