:root {
  --accent: #c3d21e;
  --accent-dark: #a4b400;
  --ink: #2c2c2c;
  --ink-light: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --border: #e7e7e3;
  --max: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-light); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent); }

/* Header / nav */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img { height: 42px; }
nav.main-nav { display: flex; }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
nav.main-nav > ul > li { position: relative; }
nav.main-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 4px;
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li.active > a {
  color: var(--accent-dark);
}
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  min-width: 260px;
  padding: 6px;
  display: none;
  flex-direction: column;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a { font-weight: 500; padding: 9px 12px; }
.dropdown a:hover { background: var(--bg-alt); color: var(--accent-dark); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 8px 24px 16px; }
  .has-dropdown .dropdown {
    position: static; border: none; box-shadow: none; display: none;
    padding-left: 12px; min-width: 0;
  }
  .has-dropdown.open .dropdown { display: flex; }
  .topbar .container { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

/* Hero */
.hero {
  background: var(--bg-alt);
  padding: 72px 0;
}
.hero .tagline {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.hero blockquote {
  font-style: italic;
  margin: 20px 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.secondary { background: transparent; border: 2px solid var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }

/* Page header (inner pages) */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 4px; }
.page-hero p { color: #cfcfcf; margin: 0; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.06); transform: translateY(-2px); }
.card h3 a { text-decoration: none; color: var(--ink); }
.card .icon-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); display: inline-block; margin-right: 8px;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.testimonial .stars { color: var(--accent-dark); margin-bottom: 8px; }
.testimonial p { color: var(--ink); font-style: italic; }
.testimonial .who { font-weight: 700; color: var(--ink-light); font-style: normal; font-size: 0.9rem; }

/* Team */
.team-member { text-align: center; }
.team-member img { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; margin: 0 auto 16px; }

/* Accordion (Leistungen detail) */
details.acc {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 20px;
  margin-bottom: 12px;
  background: #fff;
}
details.acc summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); }
details.acc[open] summary::after { content: "\2212"; }
details.acc .acc-body { padding-bottom: 18px; color: var(--ink-light); }

/* Contact */
.contact-info dt { font-weight: 700; margin-top: 16px; }
.contact-info dd { margin: 2px 0 0; color: var(--ink-light); }
form.contact-form { display: grid; gap: 14px; }
form.contact-form label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 4px; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form button.btn { justify-self: start; border: none; cursor: pointer; }

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 48px 0 24px;
  font-size: 0.92rem;
}
footer.site-footer h4 { color: #fff; font-size: 1rem; }
footer.site-footer a { color: #cfcfcf; text-decoration: none; }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 36px;
  padding-top: 18px;
  text-align: center;
  color: #9a9a9a;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  z-index: 100;
  font-size: 0.9rem;
}
.cookie-banner button {
  background: var(--accent);
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
