/* ============ Lokale Schriftart (Quicksand, selbst gehostet) ============ */
@font-face{
  font-family:'Quicksand';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('fonts/quicksand-500.woff2') format('woff2');
}
@font-face{
  font-family:'Quicksand';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/quicksand-600.woff2') format('woff2');
}
@font-face{
  font-family:'Quicksand';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/quicksand-700.woff2') format('woff2');
}

:root{
  --olive:#C8D419;
  --green-dark:#86BC25;
  --blue:#004F9F;
  --ink:#2F2F2F;
  --white:#FFFFFF;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  font-family:'Quicksand', Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.5;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 40px;
}

/* ---------- Header ---------- */
header{
  padding:44px 0 40px;
}

.logo-row{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:18px;
}

.logo-link{
  display:inline-block;
}

.logo-img{
  height:84px;
  width:auto;
  display:block;
}

/* ---------- Hero / olive band (Startseite) ---------- */
.hero{
  background:var(--olive);
  padding:60px 0 50px;
  text-align:center;
}

.hero h1{
  font-size:38px;
  font-weight:700;
  color:var(--ink);
  margin-bottom:14px;
}

.hero p{
  font-size:28px;
  font-weight:500;
  color:var(--ink);
  max-width:820px;
  margin:0 auto 40px;
  line-height:1.3;
}

.badges{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}

/* Zertifikats-Badges (Original-Grafiken, freigestellt) */
.badge-img{
  height:130px;
  width:auto;
  display:block;
}

/* ---------- Contact section ---------- */
.contact{
  padding:70px 0 60px;
}

.contact-grid{
  display:flex;
  justify-content:space-between;
  gap:60px;
  flex-wrap:wrap;
}

.contact-grid .col{
  flex:1;
  min-width:280px;
}

.contact-grid .col.right{
  text-align:left;
}

.contact h2{
  font-size:18px;
  font-weight:700;
  color:var(--blue);
  margin-bottom:18px;
  line-height:1.35;
}

.contact p{
  font-size:16px;
  margin-bottom:6px;
}

.contact .call-line{
  margin-top:18px;
}

.contact strong{
  color:var(--blue);
  font-weight:700;
}

.contact a{
  color:var(--blue);
  font-weight:700;
  text-decoration:none;
}

.contact a:hover{
  text-decoration:underline;
}

/* ---------- Kleine Hero-Variante für Unterseiten (Datenschutz/Barrierefreiheit) ---------- */
.page-hero{
  background:var(--olive);
  padding:44px 0;
  text-align:center;
}

.page-hero h1{
  font-size:30px;
  font-weight:700;
  color:var(--ink);
}

/* ---------- Rechtstext-Inhalt (Datenschutz/Barrierefreiheit) ---------- */
.legal{
  padding:56px 0 70px;
}

.legal-inner{
  max-width:760px;
  margin:0 auto;
}

.legal .back-link{
  display:inline-block;
  margin-bottom:34px;
  color:var(--blue);
  font-weight:700;
  text-decoration:none;
  font-size:15px;
}

.legal .back-link:hover{
  text-decoration:underline;
}

.legal .updated-note{
  background:#F4F6E9;
  border-left:4px solid var(--green-dark);
  padding:14px 18px;
  font-size:14px;
  color:#4a4a4a;
  margin-bottom:40px;
  line-height:1.6;
}

.legal h2{
  font-size:21px;
  font-weight:700;
  color:var(--blue);
  margin:38px 0 12px;
}

.legal h2:first-of-type{
  margin-top:0;
}

.legal h3{
  font-size:16px;
  font-weight:700;
  color:var(--ink);
  margin:22px 0 8px;
}

.legal p{
  font-size:15.5px;
  margin-bottom:12px;
}

.legal ul{
  margin:0 0 16px 22px;
}

.legal li{
  font-size:15.5px;
  margin-bottom:6px;
}

.legal a{
  color:var(--blue);
  font-weight:700;
  text-decoration:none;
}

.legal a:hover{
  text-decoration:underline;
}

.legal .placeholder{
  background:#FFF3CD;
  color:#6b5900;
  padding:2px 6px;
  border-radius:3px;
  font-weight:700;
}

.legal .meta{
  font-size:13px;
  color:#777;
  margin-top:50px;
}

/* ---------- Footer (auf allen Seiten gleich) ---------- */
footer{
  background:var(--ink);
  color:var(--white);
}

footer summary{
  list-style:none;
  cursor:pointer;
  padding:20px 0;
  user-select:none;
}

footer summary::-webkit-details-marker{
  display:none;
}

footer summary:hover{
  background:rgba(255,255,255,0.06);
}

.footer-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
}

.footer-nav .impressum-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.5px;
}

.footer-nav .impressum-label .chevron{
  font-size:11px;
  display:inline-block;
  transition:transform .2s ease;
  opacity:.75;
}

details[open] .footer-nav .impressum-label .chevron{
  transform:rotate(180deg);
}

.footer-nav a{
  color:var(--white);
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  letter-spacing:.5px;
}

.footer-nav a:hover{
  text-decoration:underline;
}

.footer-links-static{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
  padding:20px 0;
}

.footer-links-static a{
  color:var(--white);
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  letter-spacing:.5px;
}

.footer-links-static a:hover{
  text-decoration:underline;
}

.impressum-content{
  border-top:1px solid rgba(255,255,255,0.15);
  padding:40px 0 60px;
}

.impressum-content .wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px 60px;
}

.impressum-block{
  grid-column:1 / -1;
}

.impressum-content h3{
  font-size:14px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--olive);
  margin-bottom:10px;
}

.impressum-content p{
  font-size:14px;
  line-height:1.6;
  color:#d9d9d9;
  margin-bottom:4px;
}

.impressum-content a{
  color:var(--olive);
  text-decoration:none;
}

.impressum-content a:hover{
  text-decoration:underline;
}

.impressum-content .source{
  grid-column:1 / -1;
  font-size:12px;
  color:#9a9a9a;
  margin-top:10px;
}

/* ---------- Responsive ---------- */
@media (max-width:640px){
  .wrap{padding:0 22px;}
  .logo-row{justify-content:center;}
  .logo-img{height:58px;}
  .hero h1{font-size:26px;}
  .hero p{font-size:19px;}
  .badges{gap:20px;}
  .badge-img{height:90px;}
  .contact-grid{gap:36px;}
  .impressum-content .wrap{grid-template-columns:1fr;}
  .page-hero h1{font-size:23px;}
  .legal{padding:40px 0 56px;}
  .footer-nav{gap:20px;}
  .footer-links-static{gap:20px;}
}
