:root{
      --green-dark: #009e3d;   /* Titel */
      --green-mid:  #95c11f;
      --green-light:#d3d800;   /* Button */
      --text: #0f1a12;
      --white: #ffffff;

      --maintrans: .3s all ease-in-out;
    }

    *{ box-sizing:border-box; }

    /* lexend-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/lexend-v26-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lexend-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lexend-v26-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

    body{
       font-family: 'Lexend', sans-serif;
        font-size: 16px;
        line-height: 1.65;
        letter-spacing: 0.01em;
        margin: 0;
    }

    a{ color: inherit; }
    .container{
      width: min(1100px, calc(100% - 2rem));
      margin: 0 auto;
    }

    /* Header */
    header{
      position: sticky;
      top: 0;
      z-index: 10;
      background-color: var(--green-dark);
      transition: var(--maintrans);
      opacity: 0.9;
    }

    .scrolled{
        header{
            .brand img{
                height: 50px;
            }
        }
    }

    .d-none{
        display: none!important;
    }

    .d-md-block{
        display: block!important;
    }

    aside{
        position: fixed;
        bottom: 0;
        left: 0;
        background: var(--green-dark);
        color: var(--white);
        height: 100dvh;
        width: 100dvw;
        z-index: 100;
        display: flex;
        justify-content: center;

        transition: var(--maintrans);
        transform: translateY(100dvh);
        display: none;

        nav{
            display: flex;
            flex-direction: column;
            gap: 0;
            align-items: center;
            justify-content: center;
        }

        a{
            color: currentColor;
            font-size: 5dvh;
            padding: 1rem;
            text-decoration: none;
            border-bottom: 2px solid var(--green-mid);

            &:last-of-type{
                border-bottom: 0;
            }
        }
    }

    #toggler{
        display: none;
        border: none;
        background-color: var(--green-light);

        aspect-ratio: 1 / 1;
        font-size: 1.5rem;
        padding: 0 0 .22em 0;
        width: 3rem;
        border-radius: 3rem;
        transition: var(--maintrans);
        transform-origin: center center;
    }

    .opennav{
        aside{
            transform: none;
        }

        #toggler{
            rotate: 90deg;
        }
    }


    .nav{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 0.75rem 0;
      gap: 1rem;
    }

    .navwrap{
        display: flex;
        gap: 1rem;
        align-items: center;
    }
    .brand{
      display:flex;
      align-items:center;
      gap: .75rem;
      min-width: 240px;
    }
    .brand img{
      width: auto;
      height: 8vw;
    max-height: 120px;
    margin-bottom: 0;
      
      border-radius: 10px;
      border: 10px solid #ffffff;

      transition: var(--maintrans);
      
    }
    .brand .name{
      font-weight: 800;
      letter-spacing: 0.2px;
      color: var(--white);
      line-height: 1.1;
    }
    .brand .tagline{
      font-size: 0.9rem;
      opacity: .75;
      margin-top: .1rem;
      color: var(--white);
    }
.navlinks{
  display:flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlinks a{
  position: relative;
  text-decoration: none;
  padding: .25rem 0;
  color: var(--white);
  font-weight: 650;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.navlinks a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 999px;

  background: rgba(211,216,0,0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.navlinks a:hover{
  opacity: 1;
}

.navlinks a:hover::after{
  transform: scaleX(1);
}

.navlinks a:focus-visible{
  outline: 3px solid rgba(211,216,0,0.55);
  outline-offset: 6px;
}

/* Optional active */
.navlinks a.active::after{
  transform: scaleX(1);
}

@media (max-width: 600px){
  .nav{
    flex-wrap: wrap;
    gap: .75rem;
  }
  .navlinks{
    justify-content: flex-start;
  }
}

main{
    background: var(--white);
    position: relative;
    z-index: 1;

    .maxcontainer{
        max-width: 90ch;
        margin: 0 auto;
    }
}

  .container{ max-width: 1100px; }
main p{ font-size: 1.06rem; line-height: 1.7; }
main p + p{ margin-top: 0.9rem; }

.section:nth-of-type(even){
  background: linear-gradient(180deg, rgba(149,193,31,0.10), rgba(255,255,255,0));
  
}

h1, h2{
    font-weight: 400;
     font-size: clamp(1.9rem, 3.2vw, 2.6rem);
     line-height: 1.15;
     text-align: center;
}

    h1{
      margin: 20px 0 .75rem;
      font-size: clamp(1.9rem, 3.2vw, 2.6rem);
      line-height: 1.15;
      color: var(--green-dark);
    }
    .lead{
      font-size: 1.05rem;
      margin: 0 0 1.25rem;
      opacity: .9;
    }
    .pill-row{
      display:flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin: 1rem 0 1.25rem;
    }
    .pill{
      display:inline-flex;
      align-items:center;
      gap: .4rem;
      padding: .45rem .65rem;
      border-radius: 999px;
      background: rgba(149,193,31,0.22);
      border: 1px solid rgba(149,193,31,0.35);
      font-size: .95rem;
      white-space: nowrap;
    }
    .cta-row{
      display:flex;
      flex-wrap: wrap;
      gap: .75rem;
      margin-top: 1.25rem;
    }
    .btn{
      display:inline-block;
      text-decoration:none;
      padding: .75rem 1rem;
      border-radius: 14px;
      border: 1px solid rgba(0,0,0,0.10);
      background: var(--white);
      font-weight: 700;
    }
    .btn.primary{
      background: var(--green-mid);
      border-color: rgba(0,0,0,0.12);
      color: #10210f;
    }
    .btn:hover{ transform: translateY(-1px); }
    .btn:active{ transform: translateY(0px); }

    

    /* Kacheln */
    .section{
      padding: 3rem 0 3.25rem;
    }

    h2{
      margin: 0 0 1rem;
      color: var(--green-dark);
    }

   

    .tiles{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;
    }
    .tile{ transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.tile a{ transition: background .18s ease, transform .18s ease; }
.tile a:hover{ transform: translateY(-1px); }

    .tile{
      overflow:hidden;
      border-radius: 18px;
      background: rgba(255,255,255,0.85);
      box-shadow: 0 10px 25px rgba(0,0,0,0.06);
      display:flex;
      flex-direction: column;
    }
    .tile .img{
      width:100%;
      aspect-ratio: 4 / 3; /* Querformat */
      object-fit: cover;
      display:block;
      border-radius: 0;
      margin-bottom: 0;
    }
    .tile .content{
      padding: 1.5rem ;
    }
    .tile h3{
      margin: 0 0 1rem;
      color: var(--green-dark);
      font-size: 1rem;
      line-height: 1.2;

    }
    .tile p{
      margin: 0 0 .75rem;
      opacity: .9;
      line-height: 1.3;
    }
    .tile .content a{
      display:inline-flex;
      gap:.4rem;
      justify-content: space-between;
      align-items:center;
      text-decoration:none;
      font-weight: 700;
      color: var(--green-dark);
      background: var(--green-light);
      padding: 1rem;
      border-radius: 12px;
      width: fit-content;
      width: 100%;
      transition: var(--maintrans);
    }
    .tile a:hover{
      background: rgba(211,216,0,0.32);
      border-color: rgba(0,0,0,0.14);
    }

    /* Footer */
    footer{
      background: rgba(255,255,255,0.7);
      padding: 1.25rem 0;
      position: sticky;
      bottom: 0;
    }
    .footer-row{
      display:flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items:center;
      justify-content: space-between;
      font-size: .95rem;
      opacity: .9;
    }
    .footer-links{
      display:flex;
      gap: .9rem;
      flex-wrap: wrap;
      align-self: end;
        justify-content: end;

    }
    .footer-links a{
      text-decoration: none;
      border-bottom: 1px dashed rgba(0,0,0,0.35);
    }
    .footer-links a:hover{
      border-bottom-style: solid;
    }

    /* Responsive */
    @media (max-width: 990px){
      .hero-grid{ grid-template-columns: 1fr; }
      .hero-side{ height: 260px; }
      .tiles{ grid-template-columns: 1fr; }
      .brand{ min-width: unset; }
    }
    @media (max-width: 600px){
  .brand img{ height: 56px; border-width: 4px; }
  .navlinks a{ padding: .45rem .6rem; font-size: .95rem; }
}

.claim{
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.25rem;


  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;

  color: var(--green-dark);
  background: linear-gradient(
    90deg,
    rgba(149,193,31,0.18),
    rgba(211,216,0,0.10)
  );

  border-radius: 10px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.claim strong{
  font-weight: 800;
  color: #10210f;
}

hr{
  border: none;
  height: 2px;
  max-width: 72ch;
  margin: 2.25rem auto;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,158,61,0.5),
    rgba(149,193,31,0.6),
    rgba(0,158,61,0.5),
    transparent
  );

  border-radius: 999px;
  opacity: 0.9;
}


/* Wrapper rechts neben der Navi */
.nav-right{
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sprachumschaltung */
.lang-switch{
  display: flex;
  align-items: center;
  gap: .35rem;

  padding: .35rem .6rem;
  border-radius: 999px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

/* Links DE / EN */
.lang-switch .lang{
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 0.4px;

  color: rgba(255,255,255,0.85);
  padding: .25rem .5rem;
  border-radius: 999px;

  transition: var(--maintrans);
}

/* Hover */
.lang-switch .lang:hover{
  background: rgba(211,216,0,0.35);
  color: #10210f;
  transform: translateY(-1px);
}

/* Aktive Sprache */
.lang-switch .lang.active{
  background: var(--green-light);
  color: #10210f;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Trennzeichen / */
.lang-switch .sep{
  opacity: 0.6;
  font-weight: 700;
  color: #fff;
}

/* Mobile-Feinschliff */
@media (max-width: 600px){
  .nav-right{
    flex-wrap: wrap;
    gap: .75rem;
  }

  .lang-switch{
    margin-left: 0;
  }
}


footer{
  padding: 2.5rem 0 0;

  background: linear-gradient(
    180deg,
    rgba(149,193,31,0.08),
    rgba(255,255,255,0.95)
  );


        .inner{
            display: flex;
            gap: 4rem;
            align-items: center;
            justify-content: space-between;

            figure{
                width: 300px;
                margin: 0;

                img{
        margin-bottom: 0;
    }
            }

        }

}

address{
    font-style: normal;
}

.footer-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;

  font-size: 0.95rem;
  color: #1b2b20;
}

/* Kontaktblock */
.footer-row > div:first-child{
  max-width: 40ch;
  line-height: 1.6;
}

/* Links */
.footer-links{
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 2rem;
}

.footer-links a{
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: var(--green-dark);
  padding-bottom: 4px;
}

/* dezente Unterstreichung beim Hover */
.footer-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;

  background: var(--green-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.footer-links a:hover::after{
  transform: scaleX(1);
}

/* Copyright-Zeile (optional) */
.footer small{
  display: block;
  margin-top: 1.25rem;
  opacity: 0.75;
}

/* Mobile */
@media (max-width: 700px){
  .footer-row{
    grid-template-columns: 1fr;
  }

  .footer-links{
    justify-content: flex-start;
    align-self: center;
    
  }


  footer{
    position: relative;
    text-align: center;
    .inner{
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 2rem;

        figure{
                order: 5;
    margin: 0 auto;

    
        }
    }
  }
}

img{
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;

    border-radius: 18px;
}


/* ===========================
   MOBILE MENU (CSS-only, ohne HTML/JS)
   Öffnet per Tap (focus-within) oder Hover
   =========================== */

/* optional: smooth scroll zu Ankern */
html{ scroll-behavior: smooth; }

@media (max-width: 990px){

    #toggler{
        display: block;
        order: 3;
    }

     aside{
      display: block;
     }



  /* Header-Layout: Brand links, Menü-Button rechts, Dropdown darunter */
  .nav{
    position: relative;
    flex-wrap: wrap;
    align-items: center;
  }

  /* "Hamburger" als CSS-Button über ::before auf .navlinks (ohne HTML) */
  .navlinks{
    order: 3;                 /* Menü kommt visuell unter Brand/Language */
    width: 100%;

    display: none !important;
  }

  /* Toggle-Trigger (sichtbarer Button) */
  .navlinks::before{
    content: "☰ Menü";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    width: fit-content;
    margin-left: auto;        /* rechts */
    padding: .6rem .85rem;

    border-radius: 12px;
    cursor: pointer;

    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.2px;
    backdrop-filter: blur(6px);
  }

  /* Dropdown Panel */
  .navlinks{
    display: block;           /* wir steuern Links einzeln */
  }

  /* Links standardmässig verstecken */
  .navlinks a{
    display: none;
  }

  /* Panel-Styling für die Linkliste, wenn geöffnet */
  .nav:focus-within .navlinks,
  .nav:hover .navlinks{
    margin-top: .75rem;
    padding: .75rem;

    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  }

  /* Beim Öffnen: Links zeigen */
  .nav:focus-within .navlinks a,
  .nav:hover .navlinks a{
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    padding: .75rem .85rem;

    color: var(--green-dark);
    background: transparent;
    border-radius: 14px;
  }

  /* Hover im Dropdown */
  .nav:focus-within .navlinks a:hover,
  .nav:hover .navlinks a:hover{
    background: rgba(211,216,0,0.28);
  }

  /* Unterstreichungs-Animation im Dropdown deaktivieren (sonst wirkt’s “busy”) */
  .nav:focus-within .navlinks a::after,
  .nav:hover .navlinks a::after{
    display: none;
  }

  /* Menü-Button beim Öffnen als "X" anzeigen */
  .nav:focus-within .navlinks::before,
  .nav:hover .navlinks::before{
    content: "✕ Schliessen";
    color: #10210f;
    background: rgba(211,216,0,0.40);
    border-color: rgba(0,0,0,0.10);
  }

  /* Sprache oben rechts halten */
  .lang-switch{
    order: 2;
    margin-left: auto;
  }
}

/* Extra-small: Logo kleiner, Buttons etwas kompakter */
@media (max-width: 600px){
  .navlinks::before{
    padding: .55rem .75rem;
    border-radius: 12px;
  }
  .nav:focus-within .navlinks a,
  .nav:hover .navlinks a{
    padding: .7rem .8rem;
    font-size: 1rem;
  }
}




/*Specials*/

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}