/* ==========================================================================
   Konermann & Partner GmbH – Redesign
   Farbsystem: Dunkelgrün #205F34 · Hellgrün #C3E981 · Logo-Grau #7C878E
   ========================================================================== */

:root {
  --dark-green: #205F34;
  --dark-green-deep: #163F23;
  --dark-green-tint: #E9F1EA;
  --light-green: #C3E981;
  --light-green-deep: #A9D65E;
  --logo-grey: #7C878E;
  --bg: #FAFAF6;
  --bg-alt: #F1F4EA;
  --text: #182219;
  --text-muted: #566058;
  --border: #DEE4D6;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--light-green-deep);
  outline-offset: 2px;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

/* On dark-green backgrounds (footer) the logo's own dark-green/grey
   ink loses contrast, so it sits on a light plate instead. */
.logo-plate {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
}

.logo-plate img {
  height: 50px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 100px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover {
  background: var(--dark-green-tint);
  color: var(--dark-green);
}

nav.main-nav a.current {
  background: var(--dark-green);
  color: var(--white);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--dark-green);
  color: var(--white);
  overflow: hidden;
}

.hero-rings {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 780px;
  max-width: 68vw;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 104px;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--light-green);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 17.5px;
  color: rgba(255,255,255,0.86);
  max-width: 520px;
  margin: 0 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--light-green);
  color: var(--dark-green-deep);
}

.btn-primary:hover {
  background: var(--light-green-deep);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 560px;
}

.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--light-green);
  font-weight: 600;
}

.hero-stats .stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ---------- Section shell ---------- */

section { padding: 88px 0; }

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-green);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Warum wir ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.why-item {
  background: var(--bg);
  padding: 30px 32px;
  display: flex;
  gap: 18px;
}

.ring-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.why-item p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text);
  padding-top: 3px;
}

/* ---------- Leistungen ---------- */

.leistungen {
  background: var(--dark-green);
  color: var(--white);
}

.leistungen .kicker { color: var(--light-green); }
.leistungen .section-head h2 { color: var(--white); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 32px;
}

.service-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--light-green);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--white);
}

.service-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
}

/* ---------- Kontakt ---------- */

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.office-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-green);
  background: var(--dark-green-tint);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.office-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
}

.office-card address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.office-card .tel {
  display: block;
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 28px 32px;
}

.contact-strip .mail {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--dark-green-deep);
  color: rgba(255,255,255,0.72);
  padding: 40px 0;
}

footer.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer .logo-text strong,
footer.site-footer .logo-text span {
  color: rgba(255,255,255,0.88);
}

footer .foot-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

footer .foot-links a { text-decoration: none; color: rgba(255,255,255,0.72); }
footer .foot-links a:hover { color: var(--light-green); }

.copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */

.legal-hero {
  background: var(--dark-green);
  color: var(--white);
  padding: 64px 0 48px;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  margin: 0 0 8px;
  font-weight: 600;
}

.legal-hero p {
  color: rgba(255,255,255,0.78);
  margin: 0;
  font-size: 15px;
}

.legal-body {
  padding: 56px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-body section {
  padding: 0 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.legal-body section:last-child {
  border-bottom: none;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--dark-green);
  margin: 0 0 14px;
  font-weight: 600;
}

.legal-body p, .legal-body address, .legal-body li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 8px;
}

.legal-body address { font-style: normal; }

.legal-body ul { margin: 0; padding-left: 20px; }

.legal-body a { color: var(--dark-green); }

.legal-body strong { font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  nav.main-nav ul { gap: 2px; }
  nav.main-nav a { padding: 8px 12px; font-size: 14px; }
  .hero-rings { opacity: 0.5; right: -30%; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 64px; }
  .logo img { height: 38px; }
  nav.main-nav ul { gap: 0; }
  section { padding: 64px 0; }
  .hero-inner { padding: 64px 0 72px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  footer.site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .contact-strip { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
