/*
 * Modern facelift styles layered on top of the legacy Bootstrap theme.
 */

:root {
  --ink: #132031;
  --ink-muted: #516070;
  --surface: #ffffff;
  --surface-muted: #f4f6f9;
  --accent: #2f9c69;
  --accent-soft: #e1f3ea;
  --border: #e5e9f0;
  --shadow: 0 18px 40px rgba(19, 32, 49, 0.12);
}

body.theme-modern {
  color: var(--ink);
  background-color: #fdfdfd;
  font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.theme-modern p,
body.theme-modern li {
  font-size: 16px;
  line-height: 1.8;
}

body.theme-modern h1,
body.theme-modern h2,
body.theme-modern h3,
body.theme-modern h4,
body.theme-modern h5,
body.theme-modern h6 {
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-illustration {
  background: var(--surface);
  border-radius: 32px;
  padding: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
}

.navbar-default {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(19, 32, 49, 0.08);
}

@media (min-width: 768px) {
  .navbar-default {
    padding: 10px 0;
  }
}

.navbar-default .navbar-nav > li > a {
  font-weight: 600;
  color: var(--ink);
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--accent);
}

.btn-primary,
.btn-xl {
  border-radius: 999px;
  border: none;
  box-shadow: 0 12px 24px rgba(47, 156, 105, 0.25);
  background: linear-gradient(135deg, #2f9c69 0%, #4bcf88 100%);
}

.btn-primary:hover,
.btn-xl:hover {
  box-shadow: 0 16px 28px rgba(47, 156, 105, 0.35);
}

header.hero {
  position: relative;
  color: var(--ink);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 249, 0.88)),
    url("../img/header-bg.png");
  background-position: center;
}

header.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(47, 156, 105, 0.12), transparent 55%);
  pointer-events: none;
}

header.hero .intro-text {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 100px;
  text-align: left;
}

header.hero.hero-compact .intro-text {
  padding-top: 140px;
  padding-bottom: 60px;
}

header.hero .intro-lead-in {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: var(--ink-muted);
}

section {
  padding: 90px 0;
}

section h2.section-heading {
  font-size: 38px;
  font-weight: 700;
}

section h3.section-subheading {
  color: var(--ink-muted);
  max-width: 900px;
  margin: 0 auto 60px;
}

.highlight-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.services-grid .service-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 16px 32px rgba(19, 32, 49, 0.08);
  height: 100%;
}

.services-grid .service-heading {
  margin-top: 18px;
}

.services-grid .service-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.bg-light-gray {
  background-color: var(--surface-muted);
}

.portfolio-grid .portfolio-item {
  margin-bottom: 30px;
}

.portfolio-grid .portfolio-item .portfolio-link {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(19, 32, 49, 0.16);
}

.portfolio-caption {
  border-radius: 0 0 20px 20px;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(19, 32, 49, 0.06);
}

.team-card {
  margin-bottom: 50px;
  background: var(--surface);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(19, 32, 49, 0.08);
}

.team-member img {
  border: 6px solid var(--surface);
  box-shadow: 0 10px 20px rgba(19, 32, 49, 0.2);
}

.team-bio ul {
  padding-left: 18px;
}

.berufserfahrung {
  font-weight: 600;
  color: var(--ink-muted);
}

.location-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 12px 28px rgba(19, 32, 49, 0.1);
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

footer .copyright {
  color: var(--ink-muted);
}

.legal-content {
  padding: 60px 0 100px;
  background: var(--surface-muted);
}

.legal-content p {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(19, 32, 49, 0.06);
}

@media (max-width: 767px) {
  header.hero .intro-text {
    padding-top: 120px;
    text-align: center;
  }

  .hero-grid {
    flex-direction: column;
  }

  .hero-illustration {
    width: 100%;
  }

  header.hero .intro-lead-in {
    font-size: 32px;
  }

  .highlight-card,
  .services-grid .service-card,
  .team-card,
  .location-card {
    padding: 24px 18px;
  }

  section h2.section-heading {
    font-size: 30px;
  }
}
