/* Lokale Font-Definitionen */

/* Cormorant Garamond */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Source Serif 4 */
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-v14-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-v14-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-v14-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #efefed;
  --bg-soft: #dfe1cd;
  --surface: #ecebe8;
  --text: #2f3f38;
  --muted: #3f4b46;
  --line: #c8c7c3;
  --brand: #27683f;
  --brand-soft: #c9e2d3;
  --accent-box: #ebb286;
  --nav-height: 62px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--muted);
  background: var(--bg);
  line-height: 1.45;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

h3 {
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
}

p,
li,
a,
button {
  font-size: 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 10px 12px;
  z-index: 1200;
}

.skip-link:focus {
  left: 10px;
  top: 8px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(239, 239, 237, 0.96);
  border-bottom: 1px solid #d7d6d1;
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 0.55rem;
  white-space: nowrap;
  width: auto !important;
  float: none !important;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text) !important;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  width: 62px;
  height: 62px;
  display: block;
  flex: 0 0 auto;
  vertical-align: middle;
  transform: translateY(-8px);
}

.brand-text {
  display: block;
  line-height: 1;
  margin: 0;
}

.nav-link {
  font-size: 0.95rem;
  color: #34433d !important;
  border-radius: 0;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus-visible {
  background: transparent !important;
  color: #1d5e37 !important;
}

.nav-cta {
  background: #1f6d3f !important;
  color: #fff !important;
  font-size: 0.95rem;
  padding: 7px 14px !important;
  margin-left: 6px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #195730 !important;
}

.mobile-menu-toggle {
  margin-left: auto; 
  font-size: 1.2rem;
  color: #26423a !important;
}

.mobile-menu {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 8px 12px 12px;
}

.mobile-menu .nav-link,
.mobile-menu .nav-cta {
  width: 100%;
  text-align: left;
}

main {
  padding-top: var(--nav-height);
}

.w3-content {
  max-width: 1200px;
}

.content-section {
  padding: 56px 22px;
}

.hero-section {
  padding: 38px 22px 14px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero-text {
  padding: 20px 0;
}

.hero-text h1 {
  max-width: 640px;
  margin-bottom: 18px;
}

.hero-text p {
  max-width: 690px;
}

.hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.section-soft {
  background: var(--bg-soft);
}

.panel-soft {
  background: var(--surface);
  padding: 34px 38px 30px;
}

.eyebrow {
  display: inline-block;
  padding: 2px 9px;
  background: var(--brand-soft);
  color: #355548;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-size: 0.72rem;
  margin-bottom: 8px;
  border: 1px solid #b7d5c3;
}

.no-pad-sides {
  margin-left: -8px;
  margin-right: -8px;
}

.strength-box {
  background: var(--accent-box);
  padding: 16px 18px;
  margin-top: 16px;
}

.strength-box h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.center-title,
.center-subtitle {
  text-align: center;
}

.center-subtitle {
  margin-top: 2px;
  margin-bottom: 26px;
}

.service-item {
  margin-bottom: 18px;
}

.service-image {
  width: 100%;
  height: 98px;
  object-fit: cover;
  margin-bottom: 9px;
}

.service-item h3 {
  margin-bottom: 7px;
}

.leistung-block {
  margin-top: 54px;
}

.box-grid {
  margin-top: 14px;
}

.box-card {
  border: 1px solid var(--line);
  padding: 10px 14px;
  /*min-height: 292px;*/
  display: flex;
  background: transparent;
}

.box-card h3 {
  margin-bottom: 8px;
}

.value-grid {
  margin-top: 10px;
}

.value-card {
  background: #e7e5e1;
  padding: 12px 16px 14px;
  margin-bottom: 12px;
  min-height: 154px;
}

.value-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #297245;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card h3 {
  margin-bottom: 4px;
}

.copilot-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.arrow-list {
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
}

.arrow-list li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 34px;
}

.arrow-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 0;
  color: #2c3d36;
  font-size: 1.6rem;
  line-height: 1;
}

.process-grid {
  margin-top: 18px;
}

.process-item {
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 10px solid #e5e3df;
}

.process-item h3 {
  margin-bottom: 6px;
}

.center-note {
  text-align: center;
  margin-top: 8px;
}

.contact-divider {
  border: 0;
  border-top: 1px solid #999;
  margin: 12px 0 14px;
}

.contact-meta a {
  color: #213e33;
}

.contact-btn {
  margin-top: 14px;
}

.site-footer {
  padding: 20px 22px 36px;
  background: var(--bg);
  border-top: 0;
}

.legal-grid {
  margin-top: 16px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #c9892f;
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 280px;
  }

  .copilot-image {
    height: 340px;
    margin-bottom: 14px;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 58px;
  }

  .content-section,
  .hero-section,
  .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .panel-soft {
    padding: 22px 14px;
  }

  .box-card {
    min-height: 0;
    margin-bottom: 10px;
  }
}

.box-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.box-card {
  display: flex;
  float: none !important;
  flex-direction: column;
  box-sizing: border-box;
}

