:root {
  --site-primary: #005b1e;
  --site-primary-dark: #003b00;
  --site-accent: #bc442b;
  --site-primary-light: #4c9264;
  --site-secondary: #6a7850;
  --site-surface: #fffaf5;
  --site-text-secondary: #4d5950;
  --bs-body-bg: #faf4ee;
  --bs-body-color: #06150b;
  --bs-body-font-family: 'Familjen Grotesk', sans-serif;
  --site-shadow-card: 0 12px 32px rgba(0, 91, 30, 0.08);
  --site-shadow-button: 0 4px 12px rgba(0, 91, 30, 0.10);
  --site-shadow-soft: 0 10px 24px rgba(188, 68, 43, 0.08);
  --bs-link-color: #005b1e;
  --bs-link-hover-color: #003b00;
}

body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Familjen Grotesk', serif;
  letter-spacing: -0.02em;
}

.btn-primary {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--site-primary-dark);
  border-color: var(--site-primary-dark);
  color: #fff;
}

.btn-outline-primary {
  color: var(--site-primary);
  border-color: var(--site-primary);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.bg-primary {
  background-color: var(--site-primary) !important;
}

.text-primary {
  color: var(--site-primary) !important;
}

.border-primary {
  border-color: var(--site-primary) !important;
}

a {
  color: var(--site-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--site-primary-dark);
}

.btn {
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  box-shadow: var(--site-shadow-button);
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border-width: 1px;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 91, 30, 0.14);
}

.btn-primary,
.btn-outline-primary,
.form-control,
.form-select,
.cookie-banner {
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08), var(--site-shadow-button);
}

.form-control,
.form-select {
  border-radius: 6px;
  border: none;
  background: var(--site-surface);
  color: var(--bs-body-color);
  padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 91, 30, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.card {
  border: 0;
  border-radius: 12px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-card);
}

img {
  border-radius: 8px;
}

.section-tint {
  background: var(--site-surface);
}

.section-base {
  background: var(--bs-body-bg);
}

.section-padding {
  padding: 5.5rem 0;
}

.topbar-nav {
  background: rgba(255, 250, 245, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(6, 21, 11, 0.05);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-stack {
  line-height: 1.1;
}

.brand-stack small {
  color: var(--site-text-secondary);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--bs-body-color);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--site-primary);
}

.navbar-nav .nav-link::after,
.footer-links a::after,
.link-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: var(--site-accent);
  transition: width 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.footer-links a:hover::after,
.link-inline:hover::after {
  width: 100%;
}

.hero-fullbleed {
  min-height: 78vh;
  background-image: linear-gradient(rgba(6, 21, 11, 0.38), rgba(6, 21, 11, 0.34)), url('images/hero-routenplanung-vignette.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-cardless-copy {
  max-width: 760px;
}

.hero-fullbleed .lead,
.hero-fullbleed p,
.hero-fullbleed .display-5,
.hero-fullbleed .hero-link {
  color: #fff;
}

.hero-link {
  font-weight: 600;
  position: relative;
}

.hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-accent);
}

.hero-fullbleed .eyebrow {
  color: #f7d8d1;
}

.team-card,
.service-card {
  height: 100%;
}

.team-photo {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  box-shadow: var(--site-shadow-soft);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 91, 30, 0.10);
  color: var(--site-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.contact-panel {
  background: var(--site-surface);
  border-radius: 12px;
  box-shadow: var(--site-shadow-card);
  padding: 2rem;
}

.map-embed {
  min-height: 100%;
  border: 0;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--site-shadow-soft);
}

.footer-site {
  background: #f3ebe2;
  padding: 4rem 0 3rem;
}

.footer-site h5,
.footer-site h6 {
  margin-bottom: 1rem;
}

.footer-links a,
.link-inline {
  position: relative;
}

.footer-links li + li {
  margin-top: 0.65rem;
}

.legal-container {
  max-width: 900px;
}

.notfound-container {
  max-width: 760px;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  background: var(--site-surface);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--site-shadow-card);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.list-check li {
  margin-bottom: 0.8rem;
}

.list-check li::marker {
  color: var(--site-primary);
}

@media (max-width: 991.98px) {
  .navbar-brand-center {
    position: static !important;
    transform: none !important;
    margin-bottom: 1rem;
  }

  .hero-fullbleed {
    min-height: 68vh;
  }
}

@media (min-width: 992px) {
  .navbar-brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
