/* styles.css */
:root{
  --bg: #ffffff;
  --muted: #ffffff;
  --text: #1f2a24;
  --sub: #4a5b52;
  --line: #d9e0dc;
  --brand: #559120;
  --brand-2: #64ba2c;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 14px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.center{ display:flex; justify-content:center; margin-top: 18px; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 340px;
  color: #6fba2c;
  font-style: normal;
  font-weight: normal;
  text-transform: lowercase;
}
.brand::first-letter{
  text-transform: capitalize;
  font-size: 1.5em;
}

.brand__logoWrap{
  width: 104px;
  height: 104px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  display:grid;
  place-items: center;
  overflow:hidden;
}
.brand__logo{
  width: 90%;
  height: 90%;
  object-fit: fill;
}

.brand_footer{
  display: flex;
  align-items: center;
  min-width: 340px;
}

.brand__logoWrap_footer{
  width: 104px;
  height: 104px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.brand__logo_footer{
  width: 92%;
  height: 92%;
  object-fit: fill;
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name,
.brand__sub{
  font-weight: bold;
  text-transform: lowercase;
  color: #6fba2c;
  font-size: 18px;
}

.brand__name::first-letter,
.brand__sub::first-letter{
  text-transform: uppercase;
  font-size: 0.9em;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-left: auto;
}
.nav__link{
  padding: 10px 10px;
  color: var(--sub);
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.nav__link:hover{ color: var(--text); }
.nav__link.is-active{
  color: var(--text);
  border-bottom-color: var(--brand);
}

.phone{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-2);
  font-weight: 700;
}
.phone__icon{ opacity: .9; }

/* Burger + mobile nav */
.burger{
  display:none;
  margin-left: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor:pointer;
}
.burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: #1f2a24;
  margin: 4px auto;
  border-radius: 2px;
}

.mobileNav{
  display:none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 0;
}
.mobileNav.is-open{ display:block; }
.mobileNav__link{
  display:block;
  padding: 12px 20px;
  color: var(--sub);
  font-weight: 700;
}
.mobileNav__link:hover{ background: var(--muted); color: var(--text); }

/* Hero */
.hero{
  position: relative;
  min-height: 500px;
  display:grid;
  align-items:center;
}
.hero__bg{
  position:absolute;
  inset: 0;
}
.hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  background: linear-gradient(135deg, #dfe7e2, #b8c8bf);
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
}
.hero__content{
  position: relative;
  padding: 70px 0;
  color: #fff;
}
.hero__title{
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 6px 0;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hero__subtitle{
  margin: 0 0 10px 0;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 800;
  opacity: .95;
}
.hero__meta{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.hero__actions{ display:flex; gap: 12px; flex-wrap: wrap; }

/* Strip */
.strip{
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.strip__inner{
  display:flex;
  gap: 14px;
  align-items:center;
  padding: 14px 0;
  justify-content: space-between;
}
.strip__left{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 16px;
}
.strip__check{
  width: 26px; height: 26px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: #eaf4ee;
  color: var(--brand);
  font-weight: 900;
}
.strip__right{ color: var(--sub); font-weight: 600; }
.strip__right em{ color: var(--brand-2); font-style: italic; font-weight: 800; }

/* Strip – stacked layout */
.strip__inner--stack{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  text-align: center;
}
.strip__row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.strip__row--mid{
  color: var(--sub);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.strip__row--mid:hover{ color: var(--text); }
.strip__row--bottom{
  color: var(--sub);
  font-weight: 600;
}
.strip__row--bottom em{
  color: var(--brand-2);
  font-style: italic;
  font-weight: 800;
}
.strip__sublogo{
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Sections */
.section{ padding: 44px 0; }
.section--muted{ background: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title{
  text-align:center;
  margin: 0 0 14px 0;
  font-size: 28px;
  letter-spacing: .2px;
}
.section__lead{
  text-align:center;
  margin: 0 auto 22px auto;
  max-width: 760px;
  color: var(--sub);
  font-weight: 600;
}

/* Grid */
.grid{
  display:grid;
  gap: 18px;
}
.grid--4{ grid-template-columns: repeat(4, 1fr); }

/* Card */
.card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  min-height: 290px;
  position: relative;
}

/* extra spacing for Card 4 */
.card--raisedGap{
  margin-top: 0px;
  margin-left: 40px;
  width: 250px;
}
@media (max-width: 620px){
  .card--raisedGap{ margin-top: 0; }
}

.card__media{
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef3ef, #d7e3dc);
}
.card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  background: linear-gradient(135deg, #eef3ef, #d7e3dc);
}
.card__mediaLabel{
  position:absolute;
  inset:auto 10px 10px 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
}
.card__title{ margin: 12px 0 8px 0; font-size: 18px; }
.card__text{ margin: 0 0 14px 0; color: var(--sub); font-weight: 600; }

/* Tooltip (only when data-hint is present) */
.card[data-hint]::after {
  content: attr(data-hint);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  width: 260px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  pointer-events: none;
  z-index: 10;
}
.card[data-hint]:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Flip card (Card 4) */
.card--flip{
  padding: 0;
  perspective: 1000px;
  overflow: visible;
}
.card--flip::after{
  display: none !important;
}
.card__flip{
  position: relative;
  height: 100%;
  min-height: 290px;
  transform-style: preserve-3d;
  transition: transform .65s ease;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.card--flip:hover .card__flip{
  transform: rotateY(180deg);
}
.card__face{
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.card__face--back{
  transform: rotateY(180deg);
  justify-content: center;
}
.card__backText{
  margin: 0;
  color: var(--sub);
  font-weight: 650;
  line-height: 1.55;
}

/* References */
.ref{
  margin: 0;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.ref__media{
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, #eef3ef, #d7e3dc);
}
.ref__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  background: linear-gradient(135deg, #eef3ef, #d7e3dc);
}
.ref__mediaLabel{
  position:absolute;
  top: 10px; left: 10px;
  padding: 6px 10px;
  background: rgba(0,0,0,.55);
  color:#fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}
.ref__caption{
  padding: 12px 14px;
  color: var(--sub);
  font-weight: 700;
}

/* Panels */
.twoCol{
  display:grid;
  gap: 18px;
  grid-template-columns: 1.1fr .9fr;
  align-items:start;
}
.panel{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.panel__title{
  margin: 0 0 8px 0;
  font-size: 24px;
}
.panel__subtitle{
  margin: 0 0 12px 0;
  font-size: 16px;
  color: var(--brand-2);
  font-weight: 900;
}
.panel__hint{ margin-top: 16px; }

.checklist{
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}
.checklist li{
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  color: var(--sub);
  font-weight: 700;
}
.checklist li::before{
  content: "✔";
  position:absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900;
}

/* Form */
.form{ margin-top: 12px; }
.field{ display:block; margin: 12px 0; }
.field__label{ display:block; font-weight: 800; color: var(--sub); font-size: 13px; margin-bottom: 6px; }
.field__input{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  outline: none;
  background: #fff;
}
.field__input:focus{
  border-color: rgba(47,107,63,.6);
  box-shadow: 0 0 0 4px rgba(47,107,63,.12);
}
.field__input--area{ resize: vertical; min-height: 120px; }

.form__note{
  margin: 10px 0 0 0;
  color: var(--sub);
  font-weight: 700;
  min-height: 1.2em;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor:pointer;
  user-select:none;
}
.btn--primary{
  background: var(--brand);
  color: #fff;
  border-color: rgba(0,0,0,.06);
}
.btn--primary:hover{ background: var(--brand-2); }
.btn--ghost{
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover{ background: rgba(255,255,255,.18); }
.btn--small{
  margin-top: auto;
  background: #eaf4ee;
  border-color: #d2e5d8;
  color: #000000;
  padding: 10px 14px;
  font-weight: normal;
}
.btn--small_hint{
  margin-top: auto;
  background: #eaf4ee;
  border-color: #d2e5d8;
  color: var(--brand-2);
  padding: 10px 14px;
}
.btn--small:hover{ background: #def0e4; }
.btn--small_hint:hover{ background: #def0e4; }
.btn--full{ width: 100%; }

/* Legal / Impressum page */
.legal{
  padding: 34px 0 44px 0;
}
.legal__head{
  margin: 0 auto 16px auto;
  max-width: 820px;
}
.legal__title{
  margin: 0 0 6px 0;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .2px;
}
.legal__lead{
  margin: 0;
  color: var(--sub);
  font-weight: 600;
  max-width: 70ch;
}
.legal__grid{
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.legal__card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.legal__card h2{
  margin: 0 0 10px 0;
  font-size: 18px;
}
.legal__card p{
  margin: 8px 0;
  color: var(--sub);
  font-weight: 600;
}
.legal__list{
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}
.legal__list li{
  margin: 8px 0;
  color: var(--sub);
  font-weight: 650;
}
.legal__key{
  display: inline-block;
  min-width: 160px;
  color: var(--text);
  font-weight: 800;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 14px 0;
  background: #fff;
}
.footer__inner{
  position: relative;
  display:flex;
  align-items:center;
  justify-content: center;
  color: var(--sub);
  font-weight: 700;
  min-height: 88px;
}
.footer__left{
  position: absolute;
  left: 0;
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer__right{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.footer__right a:hover{ color: var(--text); }
.footer__sep{ margin: 0 8px; opacity:.6; }

/* Responsive */
@media (max-width: 980px){
  .grid--4{ grid-template-columns: repeat(2, 1fr); }
  .twoCol{ grid-template-columns: 1fr; }
  .brand{ min-width: auto; }
}
@media (max-width: 780px){
  .nav, .phone{ display:none; }
  .burger{ display:block; margin-left: auto; }
  .strip__inner{ flex-direction: column; align-items:flex-start; }

  .footer__inner{
    position: static;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 6px 0;
  }
  .footer__left{
    position: static;
    justify-content: center;
  }
}
@media (max-width: 520px){
  .grid--4{ grid-template-columns: 1fr; }
  .hero__content{ padding: 56px 0; }
}
