:root{
  /* Farbwelt */
  --green-900: #2E5E3D;
  --green-800: #3F794F;
  --green-600: #5F9F72;
  --bg: #F2F9F4;

  --ink: #12301C;
  --muted: rgba(18,48,28,.72);
  --line: rgba(18,48,28,.14);

  --radius: 22px;
  --shadow: 0 18px 50px rgba(18,48,28,.14);

  /* Layout: breiter als vorher */
  --wrap: min(1400px, 92vw);
}

*{ box-sizing:border-box; }
html,body{ height:100%; width:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a{ color: inherit; }
a:hover{ text-decoration: underline; }

.wrap{
  width: var(--wrap);
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(63,121,79,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: #fff;
  min-width: 280px;
}

.brand img{
  height: 56px;              /* etwas kleiner: stabiler auf Tablet */
  width:auto;
  display:block;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 7px;
}

.brand-name{ font-weight: 950; letter-spacing: .2px; }
.brand-sub{ font-weight: 700; font-size: 13px; opacity: .92; }

.nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.nav-link{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  font-size: 14px;
}
.nav-link:hover{ background: rgba(255,255,255,.14); text-decoration:none; }
.nav-link.is-active{ background: rgba(255,255,255,.22); }

/* ===== Brand Hero (mit hero.jpg + Overlay) ===== */
.hero-brand{
  position: relative;
  overflow: hidden;
  padding: 160px 0 120px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-bg{
  position: absolute;
  inset: -6%;
  z-index: 0;
  background:
    /* Lesbarkeits-Overlay */
    linear-gradient(
      180deg,
      rgba(242,249,244,.92) 0%,
      rgba(242,249,244,.78) 45%,
      rgba(242,249,244,.92) 100%
    ),
    radial-gradient(900px 520px at 15% 25%, rgba(63,121,79,.35), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(95,159,114,.30), transparent 60%),
    url("/gisbit-landing/assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

.hero-brand-inner{
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-brand-copy{
  max-width: 80ch;
  margin: 0 auto;
}

.hero-brand-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.80);
  font-weight: 950;
  color: var(--muted);
  font-size: 13px;
}

.hb-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-800);
  box-shadow: 0 0 0 8px rgba(63,121,79,.18);
}

/* Headline (2 Gewichtungen + Akzent) */
.hero-brand-title{
  margin: 28px 0 18px;
  font-size: clamp(56px, 7.5vw, 104px);
  line-height: 0.94;
  letter-spacing: -1.6px;
}

.title-light{ font-weight: 600; opacity: .92; }
.title-strong{ font-weight: 900; }
.title-accent{
  color: var(--green-800);
  position: relative;
}
.title-accent::after{
  content:"";
  position:absolute;
  left: -2%;
  right: -2%;
  bottom: 6%;
  height: 0.28em;
  background: rgba(63,121,79,.22);
  z-index: -1;
  border-radius: 10px;
}

.hero-brand-lead{
  margin: 0 auto;
  max-width: 72ch;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.6;
  color: var(--muted);
}

.hero-brand-actions{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* sanfte Bewegung im Hintergrund */
@media (prefers-reduced-motion: no-preference){
  .hero-bg{
    animation: heroBgFloat 26s ease-in-out infinite alternate;
  }
  @keyframes heroBgFloat{
    0%{ transform: scale(1) translate3d(0,0,0); }
    100%{ transform: scale(1.05) translate3d(-2%, -2%, 0); }
  }

  .title-accent::after{
    animation: accentFade 1.2s ease 0.6s both;
  }
  @keyframes accentFade{
    from{ transform: scaleX(0); transform-origin: left; }
    to{ transform: scaleX(1); }
  }

  .hero-brand-copy{
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 700ms ease forwards;
  }
  @keyframes heroFadeUp{
    to{ opacity:1; transform: translateY(0); }
  }
}

/* ===== Hinweis Hero (dein bestehender .hero Block) ===== */
.hero{
  position: relative;
  overflow: hidden;
  padding: 86px 0 64px;
  background:
    radial-gradient(1200px 550px at 10% 0%, rgba(63,121,79,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 20%, rgba(95,159,114,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-inner{ position: relative; z-index: 2; text-align:center; }

.kicker{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  font-weight: 950;
  color: var(--muted);
  font-size: 13px;
}
.kdot{
  width: 10px; height:10px; border-radius:50%;
  background: var(--green-800);
  box-shadow: 0 0 0 7px rgba(63,121,79,.18);
}

.h1{
  margin: 16px 0 12px;
  font-size: clamp(34px, 5.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -1.0px;
}

.lead{
  margin: 0 auto;
  max-width: 70ch;
  font-size: clamp(16px, 2.0vw, 22px);
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 950;
  font-size: 16px;
  text-decoration:none;
  user-select:none;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease, filter 220ms ease;
  will-change: transform;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  color: #fff;
  border-color: rgba(46,94,61,.28);
  box-shadow: 0 18px 40px rgba(46,94,61,.18);
}
.btn-primary:hover{ filter: brightness(0.985); text-decoration:none; }

.btn-secondary{
  background: rgba(255,255,255,.82);
  color: var(--green-900);
  border-color: rgba(63,121,79,.22);
}
.btn-secondary:hover{ background: rgba(255,255,255,.90); text-decoration:none; }

/* Fokus */
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible{
  outline: 3px solid rgba(63,121,79,.35);
  outline-offset: 3px;
  border-radius: 14px;
}

/* ===== Sections / Cards ===== */
.section{ padding: 56px 0; }
.section-title{
  font-size: 26px;
  margin: 0 0 14px;
  letter-spacing: -0.2px;
  text-align:center;
}
.section-sub{
  margin: 0 auto 28px;
  max-width: 78ch;
  color: var(--muted);
  line-height: 1.7;
  text-align:center;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(18,48,28,.18);
}

.card-small{
  background: rgba(242,249,244,.92);
  box-shadow: none;
}

.label{
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.value{
  font-size: 20px;
  font-weight: 950;
  line-height: 1.35;
}
.value a{ color: var(--green-900); }

/* ===== Footer – Option B (vollbreit + rund) ===== */
.site-footer{
  width: calc(100% - 40px);
  margin: 48px auto 32px;
  background: var(--green-600);
  border-radius: 28px;
  padding: 34px 36px;
  box-shadow: 0 22px 60px rgba(18,48,28,.18);
}

/* Falls du im Footer einen .wrap nutzt: neutralisieren */
.site-footer .wrap{
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-footer .footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-title{ font-weight: 950; color: #fff; font-size: 16px; }
.footer-muted{ margin-top: 4px; opacity: .92; font-weight: 800; font-size: 13px; color: #fff; }

.footer-links a{ color: rgba(255,255,255,.95); font-weight: 900; text-decoration: none; }
.footer-links a:hover{ text-decoration: underline; }
.sep{ opacity: .7; margin: 0 10px; color: #fff; }

/* ===== Content pages ===== */
.page{ padding: 44px 0 70px; }
.page-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}
.page h1{ font-size: 30px; margin: 0 0 12px; }
.page p, .page li{ line-height: 1.75; }
.muted{ color: var(--muted); }

/* ===== Reveal Animation ===== */
@media (prefers-reduced-motion: no-preference){
  .reveal{
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 650ms ease forwards;
  }
  .reveal.delay-1{ animation-delay: 90ms; }
  .reveal.delay-2{ animation-delay: 180ms; }
  .reveal.delay-3{ animation-delay: 270ms; }
  .reveal.delay-4{ animation-delay: 360ms; }

  @keyframes fadeUp{
    to { opacity: 1; transform: translateY(0); }
  }
}

/* =========================
   Tablet
   ========================= */
@media (max-width: 980px){
  :root{ --wrap: min(980px, 92vw); }

  .header-inner{ flex-direction: column; align-items:flex-start; }
  .brand{ min-width: unset; }
  .brand img{ height: 52px; }

  .hero-brand{ padding: 120px 0 90px; }
  .hero-brand-title{ font-size: clamp(44px, 7.2vw, 72px); letter-spacing: -1.0px; }
  .hero-brand-lead{ font-size: clamp(16px, 2.4vw, 20px); }
  .hero-brand-actions .btn{ padding: 16px 18px; font-size: 16px; }

  .grid{ grid-template-columns: 1fr; gap: 14px; }

  .site-footer{ width: calc(100% - 24px); padding: 28px 22px; border-radius: 22px; }
}

/* =========================
   Smartphone
   ========================= */
@media (max-width: 560px){
  :root{ --wrap: min(560px, 92vw); }

  .hero-brand{ padding: 96px 0 72px; }
  .hero-brand-title{ font-size: clamp(38px, 11vw, 52px); line-height: 1.03; letter-spacing: -0.5px; }
  .hero-brand-lead{ font-size: 18px; line-height: 1.7; max-width: 40ch; }

  .hero{ padding: 64px 0 46px; }
  .h1{ font-size: clamp(30px, 9.2vw, 44px); }

  .hero-brand-actions .btn,
  .hero-actions .btn{
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
  }

  .site-footer .footer-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
/* ===== Hero Logo (statt Hinweis) ===== */
.hero-logo{
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.hero-logo img{
  height: 176px;
  width: auto;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(18,48,28,.16);
}

/* Tablet */
@media (max-width: 980px){
  .hero-logo img{
    height: 72px;
    padding: 12px 16px;
  }
}

/* Smartphone */
@media (max-width: 1120px){
  .hero-logo{
    margin-bottom: 18px;
  }

  .hero-logo img{
    height: 128px;
    padding: 10px 14px;
    border-radius: 16px;
  }
}
