:root {
  --site-primary: #a43c33;
  --site-primary-dark: #6f0000;
  --site-accent: #501b00;
  --site-secondary: #5a7d4e;
  --site-primary-light: #cf8075;
  --site-surface: #ffeeed;
  --site-text-secondary: #6e5754;
  --bs-body-bg: #ffe4e4;
  --bs-body-color: #250e0b;
  --bs-body-font-family: 'Karla', sans-serif;
  --bs-link-color: #a43c33;
  --bs-link-hover-color: #6f0000;
}

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: 'Spectral', serif;
}

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

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

.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);
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 108px;
}

.site-navbar {
  background: rgba(255, 238, 237, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid transparent;
  transition: padding 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.site-navbar .navbar-brand img {
  height: 48px;
  width: auto;
  transition: height 0.25s ease, transform 0.25s ease;
  border-radius: 8px;
}

.site-navbar.nav-shrink {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom-color: rgba(80, 27, 0, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.site-navbar.nav-shrink .navbar-brand img {
  height: 38px;
}

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

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--site-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.hero-section {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(37, 14, 11, 0.28), rgba(37, 14, 11, 0.22)), url('images/hero-zurich-handyman.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero-section .hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-panel {
  max-width: 760px;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.92);
}

.section-shell {
  background: var(--site-surface);
  border: 3px solid var(--site-accent);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(164, 60, 51, 0.22);
  border-radius: 10px;
  pointer-events: none;
}

.card {
  border-radius: 10px;
  border: 2px solid rgba(80, 27, 0, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background: #fff8f7;
}

.card:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  border-color: rgba(164, 60, 51, 0.45);
}

.btn {
  border-radius: 8px;
  border-width: 0;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.form-control {
  border-radius: 5px;
  border: 1px solid rgba(80, 27, 0, 0.25);
  background: #fffdfc;
}

.form-control:focus {
  border-color: rgba(164, 60, 51, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(164, 60, 51, 0.12);
}

.section-image {
  border-radius: 8px;
  border: 2px solid rgba(80, 27, 0, 0.2);
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-mark {
  font-family: 'Spectral', serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--site-primary-light);
}

.contact-map {
  border: 2px solid rgba(80, 27, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  border-top: 1px solid rgba(80, 27, 0, 0.28);
  background: transparent;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1055;
  background: #fff8f7;
  border: 2px solid var(--site-accent);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cookie-banner.hidden {
  display: none;
}

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

.legal-shell {
  max-width: 100%;
}

.legal-inner {
  max-width: 860px;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 92px;
  }

  .site-navbar .navbar-collapse {
    margin-top: 0.75rem;
    background: #fff6f5;
    border: 2px solid rgba(80, 27, 0, 0.16);
    border-radius: 12px;
    padding: 0.75rem;
  }

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

  .section-shell {
    padding: 1.5rem;
  }
}
