:root{
  --bg:#aaecb2;
  --green:#40834e;
  --greenDark:#356f42;
  --white:#ffffff;
  --text:#1b1b1b;
  --muted:#3d4a42;
  --border:rgba(0,0,0,.10);
  --shadow:0 10px 24px rgba(0,0,0,.12);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.75;
}

a{color:var(--green); text-decoration:none}
a:hover{text-decoration:underline}

/* Lauftext */
.ticker{
  background:#eaf7ec;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.ticker-track{
  display:flex;
  width:max-content;
  gap:36px;
  animation:ticker 28s linear infinite;
}
.ticker-track span{
  padding:8px 0;
  white-space:nowrap;
  font-weight:700;
}
@keyframes ticker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* Header */
.header{
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.hero{
  width:100%;
  height:180px;
  overflow:hidden;
}
.hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.header-inner{
  max-width:1000px;
  margin:0 auto;
  padding:14px 14px 18px;
  display:flex;
  align-items:center;
  gap:14px;
}
.logo{
  width:min(240px,44vw);
  height:auto;
  display:block;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.10));
}
.header-text h1{
  margin:0;
  font-size:22px;
  color:var(--green);
}
.header-text p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--green);
  border-bottom:1px solid rgba(255,255,255,.18);
}
.topbar-inner{
  max-width:1000px;
  margin:0 auto;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mini{
  color:#fff;
  font-weight:900;
  white-space:nowrap;
  text-decoration:none;
}

/* Desktop links */
.navDesktop{
  display:none;
  margin-left:auto;
  gap:6px;
  flex-wrap:wrap;
}
.navDesktop a{
  color:#fff;
  text-decoration:none;
  padding:9px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.10);
  font-weight:800;
  font-size:14px;
}
.navDesktop a:hover{background:rgba(255,255,255,.20)}

/* Hamburger */
.menu-btn{
  margin-left:auto;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10);
  color:#fff;
  border-radius:14px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-weight:800;
}
.burger{width:18px; height:2px; background:#fff; position:relative; display:block}
.burger::before,.burger::after{content:""; position:absolute; left:0; width:18px; height:2px; background:#fff}
.burger::before{top:-6px}
.burger::after{top:6px}

/* Drawer */
.drawer{display:none}
.drawer.open{display:block; position:fixed; inset:0; z-index:2000}
.drawer-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.45)}
.drawer-panel{
  position:absolute; top:0; right:0;
  width:min(360px, 92vw); height:100%;
  background:var(--white);
  box-shadow:var(--shadow);
  padding:14px;
  display:flex; flex-direction:column; gap:10px;
}
.drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--border); padding-bottom:10px
}
.drawer-title{font-weight:900}
.drawer-close{
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer
}
.drawer-nav a{
  display:block;
  padding:12px;
  border-radius:14px;
  text-decoration:none;
  font-weight:900;
  color:var(--green);
  border:1px solid rgba(64,131,78,.22);
  background:rgba(64,131,78,.06);
  margin:8px 0;
}
.drawer-nav a:hover{background:rgba(64,131,78,.10)}

/* Content */
.container{max-width:1000px; margin:auto; padding:16px}
.card{
  background:var(--white);
  border-radius:var(--radius);
  padding:16px;
  margin:16px 0;
  box-shadow:var(--shadow);
}
.card h2{
  margin:0 0 12px;
  color:var(--green);
  font-size:22px;
  border-bottom:1px solid rgba(64,131,78,.20);
  padding-bottom:8px;
}
.card h3{
  margin:18px 0 10px;
  color:#2f5f46;
  font-size:18px;
}
.card p{
  max-width:72ch;
  margin:0 0 14px;
  font-size:16px;
  line-height:1.85;
}

/* Buttons */
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:12px 0;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background:var(--green);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  border:1px solid var(--green);
  cursor:pointer;
}
.btn:hover{background:var(--greenDark); border-color:var(--greenDark)}
.btn-outline{
  background:rgba(64,131,78,.06);
  color:var(--green);
  border:1px solid var(--green);
}
.btn-outline:hover{background:rgba(64,131,78,.12)}

/* Scroll anchor offset */
section[id]{scroll-margin-top:90px}

/* Timeline */
.timeline{
  position:relative;
  margin-top:16px;
  padding-left:34px;
  max-width:72ch;
}
.timeline::before{
  content:"";
  position:absolute;
  left:12px;
  top:0;
  bottom:0;
  width:3px;
  background:#cfeedd;
  border-radius:3px;
}
.timeline-item{position:relative; margin-bottom:22px}
.timeline-item:last-child{margin-bottom:0}
.timeline-year{
  position:absolute;
  left:-2px;
  top:0;
  background:var(--green);
  color:#fff;
  font-weight:900;
  font-size:13px;
  padding:4px 8px;
  border-radius:12px;
}
.timeline-content{
  background:#f7fbf9;
  border-radius:14px;
  padding:14px 16px;
  margin-left:34px;
  border:1px solid rgba(0,0,0,.06);
}
.timeline-content h3{margin:0 0 6px; font-size:16px; color:#2f5f46}
.timeline-content p{margin:0}
.timeline-content ul{margin:6px 0 0 18px}

/* 2-Klick Google Maps */
.map-consent{
  margin-top:12px;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
}
.map-placeholder{
  padding:14px;
}
.map-placeholder h3{
  margin:0 0 8px;
  color:#2f5f46;
  font-size:18px;
}
.map-consent iframe{
  width:100%;
  height:280px;
  border:0;
  display:block;
  background:#fff;
}

/* Formular */
.contact-form{
  max-width:560px;
  margin-top:8px;
}
.contact-form label{
  display:block;
  margin-bottom:12px;
  font-weight:700;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  padding:10px 12px;
  margin-top:6px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.20);
  font-size:15px;
  background:#fff;
}
.contact-form textarea{resize:vertical}
.contact-form .privacy{
  font-weight:500;
  font-size:14px;
}
.hp{display:none}

.success-message{
  background:#eaf7ec;
  border:1px solid #40834e;
  color:#2f5f46;
  padding:12px 14px;
  border-radius:12px;
  margin:12px 0;
  font-weight:700;
}
.error-message{
  background:#fff3f3;
  border:1px solid rgba(200,0,0,.35);
  color:#8a1f1f;
  padding:12px 14px;
  border-radius:12px;
  margin:12px 0;
  font-weight:700;
}

/* Footer */
.footer{
  background:var(--green);
  color:#fff;
  text-align:center;
  padding:14px;
  margin-top:14px;
}
.footer-link{
  color:#fff;
  text-decoration:underline;
}

/* Desktop */
@media (min-width:900px){
  .menu-btn{display:none}
  .navDesktop{display:flex}
  .hero{height:240px}
  .logo{width:280px}
  .header-text h1{font-size:26px}
}

/* Print */
@media print{
  .topbar, .drawer, .ticker, .menu-btn{display:none !important;}
  body{background:#fff;color:#000;}
  .container{max-width:none;padding:0;}
  .card{
    box-shadow:none;
    border:1px solid #ccc;
    border-radius:0;
    margin:10px 0;
    page-break-inside:avoid;
  }
  a{color:#000; text-decoration:none;}
}
/* DSGVO Checkbox größer & besser klickbar */
/* Hinweis unter Datenschutz-Checkbox */
.privacy-hint{
  font-size:14px;
  color:#3d4a42;
  margin-top:6px;
  line-height:1.6;
}

.privacy-hint a{
  color:#40834e;
  font-weight:600;
}
/* Datenschutz-Checkbox & Text angleichen */
.contact-form .privacy{
  font-size:16px;          /* gleiche Größe wie Fließtext */
  font-weight:500;
  line-height:1.6;
  display:flex;
  align-items:flex-start;
  gap:10px;
}

/* Checkbox etwas größer */
.contact-form .privacy input[type="checkbox"]{
  width:18px;
  height:18px;
  margin-top:3px;          /* optisch sauber zur Textzeile */
  accent-color:#40834e;    /* grün wie dein Design */
  cursor:pointer;
}

