:root {
  --green: #008F10;
  --green-dark: #007A0E;
  --green-muted: #398044;
  --gray-dark: #575757;
  --gray-medium: #858585;
  --gray-light: #D6D6D6;
  --gray-pale: #EEEEEE;
  --paper: #EEEEEE;
  --ink: #575757;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ================= TOPBAR ================= */
.topbar {
  background: var(--green-dark);
  color: var(--gray-pale);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

/* ================= HEADER & NAV ================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 238, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(87, 87, 87, 0.18);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 175px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.mobile-only {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link-mail {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: color 0.2s ease;
}

.nav-link-mail:hover {
  color: var(--green);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 143, 16, 0.2); /* Profi-Tipp: Schwebende Buttons */
}

.nav-cta,
.button-primary {
  background: var(--green);
  color: #ffffff;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 143, 16, 0.3);
}

.button-outline {
  border: 1px solid var(--gray-medium);
  color: var(--gray-dark);
  background: transparent;
  box-shadow: none; /* Beim Outline-Button den Schatten deaktivieren, wirkt oft besser */
}

.button-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
  background: rgba(0, 143, 16, 0.05);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--gray-medium);
  background: transparent;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ================= HERO-BEREICH ================= */
.hero {
  position: relative;
  /* Farbverlauf von rechts (dunkel) nach links (helles Papiergrau) */
  background: linear-gradient(to left, #1a1a1a 0%, #2b2b2b 30%, var(--paper) 65%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  flex: 1 1 580px;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 3px;
  background-color: var(--green);
}

.hero h1 {
  font-family: inherit;
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  line-height: 1.15;
  font-weight: 800;
  color: #2b2b2b;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero h1 .highlight-green {
  color: var(--green);
  display: inline-block;
}

.hero p {
  color: var(--gray-dark);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-graphic {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Sorgt dafür, dass die Grafik über dem Verlauf steht */
  z-index: 2; 
}

.circle-outline {
  width: clamp(260px, 26vw, 360px);
  height: clamp(260px, 26vw, 360px);
  /* Dickerer, grüner Rahmen für besseren Kontrast auf Dunkel */
  border: 2.5px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Schatten für 3D-Tiefe und dezenter Hintergrund im Kreis */
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.05);
}

.logo-symbol {
  width: 90%;
  height: auto;
  object-fit: contain;
  /* Macht das Logo komplett weiß, damit es strahlt */
  filter: brightness(0) invert(1);
}

.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--green);
  z-index: 3;
}

/* ================= HEXAGON-BANNER ================= */
.hexagon-banner {
  position: relative;
  background-color: #1a1a1a;
  color: var(--gray-pale);
  padding: 120px 0; 
  overflow: hidden;
}

.hexagon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  filter: contrast(1.1);
}

.hexagon-inner {
  position: relative;
  z-index: 2;
}

.hexagon-box {
  max-width: 780px;
  background: rgba(26, 26, 26, 0.82);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--green);
  padding: 28px 34px;
  border-radius: 0 4px 4px 0;
}

.hexagon-box h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hexagon-box p {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

/* ================= SECTIONS ALLGEMEIN ================= */
.section {
  padding: 88px 0;
}

.section-kicker {
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin-bottom: 12px;
}

.kicker-light {
  color: #8ed695;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.2;
}

.section-heading p {
  margin-top: 14px;
  color: var(--gray-dark);
  font-size: 1.05rem;
}

/* ================= UNTERNEHMENSBEREICH ================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.intro-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: #2b2b2b;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.intro-copy p {
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-size: 1rem;
}

.intro-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
}

.highlight-item strong {
  display: block;
  color: var(--green);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.highlight-item span {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.45;
  display: block;
}

.intro-media {
  position: relative;
}

.intro-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px;
  border-bottom: 4px solid var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================= LEISTUNGEN ================= */
.services {
  background-color: var(--gray-light);
}

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

.service-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-media {
  position: relative;
  width: 100%;
  height: 230px;
  background-color: #222222;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 8px;
}

.service-body h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-body p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ================= KONTAKT ================= */
.contact {
  background: var(--green-dark);
  color: var(--gray-pale);
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}

.contact::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  right: -100px;
  top: -160px;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.contact-text {
  max-width: 620px;
}

.contact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-text p {
  color: #e0eedc;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.button-phone {
  background: #ffffff;
  color: var(--green-dark);
  flex-direction: column;
  padding: 16px 32px;
  min-width: 260px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button-phone:hover {
  background: var(--gray-pale);
  transform: translateY(-2px);
}

.phone-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 2px;
}

.phone-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.04em;
}

.contact-mail-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.contact-mail-link:hover {
  text-decoration-color: #ffffff;
  color: var(--gray-pale);
}

/* ================= FOOTER ================= */
footer {
  background: #2b2b2b;
  color: var(--gray-light);
  padding: 64px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col-brand p {
  color: #a8a8a8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-logo {
  width: 170px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-highlight span {
  display: block;
  font-size: 0.82rem;
  color: #a8a8a8;
  margin-bottom: 4px;
}

.footer-highlight a {
  color: #ffffff;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.footer-highlight a:hover {
  color: var(--green);
}

.footer-note {
  font-size: 0.82rem;
  color: #8c8c8c;
  margin-top: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b5b5b5;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #8c8c8c;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-left .divider {
  color: #555;
}

/* ================= POWERED BY ================= */
.powered-by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.powered-by span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
}

.conengtra-logo {
  height: 32px;
  width: auto;
  border-radius: 2px;
}

/* ================= ACCESSIBILITY ================= */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--green-dark);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-image {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-container {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .hero-graphic {
    align-self: center;
    margin-top: 20px;
  }
  
  .hero {
    /* Angepasster Verlauf für Mobile (vertikal statt horizontal) */
    background: linear-gradient(to top, #1a1a1a 0%, #2b2b2b 40%, var(--paper) 70%);
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-link-mail {
    display: none; 
  }

  .mobile-only {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-light);
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--gray-light);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-phone {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .topbar-inner span:last-child {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .circle-outline {
    width: 220px;
    height: 220px;
  }

  .hexagon-banner {
    padding: 80px 0;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}