:root {
  --navy: #20303c;          /* original dark slate */
  --navy-dark: #16232c;
  --sand: #b0a986;          /* original signature sand — accent on dark, buttons */
  --sand-hover: #9d976f;
  --orange: #877a45;        /* deep khaki — legible accent text/elements on light bg */
  --orange-hover: #6f6437;
  --gray-50: #f4f2ec;       /* warm beige — alt sections */
  --gray-100: #ece8df;
  --gray-200: #ddd8cb;
  --gray-500: #6f6e63;
  --gray-700: #3c3b34;
  --gray-900: #20201c;
  --white: #ffffff;
  --max-w: 1100px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sand);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Photo strip divider ── */
.photo-strip {
  position: relative;
  background-image: url('../images/hero-1400.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  padding: 5rem 1.5rem;
  text-align: center;
}

.photo-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20,30,38,0.76);
}

.photo-strip blockquote {
  position: relative;
  z-index: 1;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.55;
}

.photo-strip cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.25rem;
  color: var(--sand);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nav-logo span { color: var(--orange); }
.nav-logo:hover { color: var(--navy); }

.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,30,38,0.72) 0%, rgba(20,30,38,0.32) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-content h1 span { color: var(--sand); }

.hero-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--sand);
  color: var(--navy);
}
.btn-primary:hover { background: var(--sand-hover); color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Section layout ── */
section { padding: 5rem 0; }
.bg-alt { background: var(--gray-50); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  border-top: 4px solid var(--sand);
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.11);
  transform: translateY(-3px);
}

/* SVG icons for philosophy / method cards */
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--orange);
  fill: none;
}

/* Image-backed card header */
.card-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,30,38,0.05) 20%, rgba(20,30,38,0.85) 100%);
}
.card-img h3,
.service-detail-card .card-img h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0.9rem 1.25rem 0.75rem;
  margin: 0;
  font-size: 1.1rem;
  border-bottom: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Cards with image header: no top border, no padding on card itself */
.service-card:has(.card-img) {
  border-top: none;
  padding: 0;
  overflow: hidden;
}
.service-detail-card:has(.card-img) {
  padding: 0;
  overflow: hidden;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.service-card p:first-of-type {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  transition: gap 0.2s, color 0.2s;
}
.more-link:hover { color: var(--orange); gap: 0.5rem; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.testimonial-top {
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--orange);
  display: block;
  margin: 0 auto 0.65rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.testimonial blockquote {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 0.97rem;
}

.testimonial blockquote::before {
  content: '\201E';
  font-size: 1.4rem;
  color: var(--orange);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.2rem;
}

/* ── About section / page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.qual-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qual-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
}

.qual-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ── Services page detail ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.service-detail-card h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
}

.service-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-detail-card ul li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.service-detail-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ── Contact form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
}

.contact-item .icon {
  font-size: 1.2rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

.contact-item a { color: var(--gray-700); }
.contact-item a:hover { color: var(--orange); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,50,82,0.1);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  margin-top: 0.5rem;
}

.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  width: 100%;
}
.btn-submit:hover { background: var(--navy-dark); color: var(--white); }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Social icons ── */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--sand); color: var(--navy); }

/* ── CTA banner ── */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 2rem; }

/* ── Impressum ── */
.legal-content h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; font-size: 0.97rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.4rem; font-size: 0.97rem; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a { color: rgba(255,255,255,0.65); }
.footer-nav a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.footer-social a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--sand); }

/* ── Utility ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0; border-bottom: 1px solid var(--gray-100); }

  .about-grid,
  .contact-grid,
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .photo-strip { background-attachment: scroll; }

  .form-row { grid-template-columns: 1fr; }

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

  .hero-content { padding: 3.5rem 1.5rem; }
}
