/* ==========================================================================
   Dach Profi Partner — DESIGN SYSTEM
   Colors sourced directly from brand logo:
   Primary Teal  → #1d4d5e  (roof structure, text)
   Accent Gold   → #c9a227  (solar sun, CTAs, highlights)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SELF-HOSTED FONTS — Outfit (headings) + Inter (body)
      Files located at: assets/fonts/outfit/ and assets/fonts/inter/
      Path is relative from css/styles.css → ../assets/fonts/
   -------------------------------------------------------------------------- */

/* Outfit — latin extended */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/outfit/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Outfit — latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/outfit/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}

/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}

/* --------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-primary:        #1d4d5e;   /* Deep Teal — brand primary */
  --color-primary-dark:   #153a49;   /* Darker teal for hover states */
  --color-primary-light:  #2a6a80;   /* Lighter teal for highlights */
  --color-accent:         #c9a227;   /* Solar Gold — accent / CTA */
  --color-accent-dark:    #a8841c;   /* Darker gold for hover states */
  --color-accent-light:   #e0bb4a;   /* Lighter gold for glows */

  /* Neutral Palette */
  --color-dark:           #0d1f27;   /* Near-black dark backgrounds */
  --color-dark-mid:       #1a3240;   /* Footer / dark sections */
  --color-text:           #1a2b35;   /* Body text — dark charcoal */
  --color-text-muted:     #4a6570;   /* Secondary text */
  --color-text-light:     #7a9aaa;   /* Placeholder / fine print */
  --color-white:          #ffffff;
  --color-bg:             #f4f7f8;   /* Light warm-grey page background */
  --color-bg-alt:         #edf1f3;   /* Alternate section background */
  --color-bg-card:        #ffffff;   /* Card backgrounds */
  --color-border:         #d0dde3;   /* Subtle borders */
  --color-border-light:   #e8eff2;   /* Very subtle borders */

  /* Status Colors */
  --color-success:        #2e7d52;
  --color-danger:         #c0392b;

  /* Typography */
  --font-heading:         'Outfit', system-ui, sans-serif;
  --font-body:            'Inter', system-ui, sans-serif;

  /* Spacing Scale */
  --space-xs:  0.5rem;    /*  8px */
  --space-sm:  1rem;      /* 16px */
  --space-md:  1.5rem;    /* 24px */
  --space-lg:  2.5rem;    /* 40px */
  --space-xl:  4rem;      /* 64px */
  --space-2xl: 6rem;      /* 96px */

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs:    0 2px 6px rgba(29, 77, 94, 0.06);
  --shadow-soft:  0 8px 24px rgba(29, 77, 94, 0.10);
  --shadow-hover: 0 16px 40px rgba(29, 77, 94, 0.18);
  --shadow-card:  0 4px 16px rgba(29, 77, 94, 0.08);
  --shadow-accent: 0 8px 24px rgba(201, 162, 39, 0.30);

  /* Glassmorphism */
  --glass-bg:      rgba(255, 255, 255, 0.88);
  --glass-blur:    blur(18px);
  --glass-border:  1px solid rgba(255, 255, 255, 0.5);

  /* Transitions */
  --transition:        all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast:   all 0.18s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow:   all 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Layout */
  --container-max:  1200px;
  --container-md:   840px;
  --container-sm:   640px;

  /* Header Heights */
  --topbar-height:   44px;
  --navbar-height:   72px;
  --header-total:    116px;
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-total);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; letter-spacing: 0; }

p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

.text-small { font-size: 0.875rem; }
.text-center { text-align: center; }
.text-white, .text-white h1, .text-white h2, .text-white h3,
.text-white p { color: var(--color-white); }
.text-white p { color: rgba(255,255,255,0.82); }

.accent-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   5. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--md { max-width: var(--container-md); }
.container--sm { max-width: var(--container-sm); }

.section { padding-block: var(--space-xl); }
.section--lg { padding-block: var(--space-2xl); }
.section--sm { padding-block: var(--space-lg); }

/* Background alternation */
.bg-white    { background-color: var(--color-white); }
.bg-light    { background-color: var(--color-bg); }
.bg-alt      { background-color: var(--color-bg-alt); }
.bg-dark     { background-color: var(--color-dark); }
.bg-primary  { background-color: var(--color-primary); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   6. DOUBLE-DECKER HEADER
   -------------------------------------------------------------------------- */

/* — Top Bar — */
.top-bar {
  height: var(--topbar-height);
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.top-bar__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4caf78;
  box-shadow: 0 0 0 2px rgba(76, 175, 120, 0.3);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(76, 175, 120, 0.3); }
  50%       { box-shadow: 0 0 0 5px rgba(76, 175, 120, 0.0); }
}

.top-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent-light);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}
.top-bar__phone:hover { color: var(--color-white); }
.top-bar__phone i { font-size: 0.8rem; }

.top-bar__address {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}
.top-bar__address i { margin-right: 0.3rem; color: rgba(255,255,255,0.4); }

/* — Main Navigation Bar — */
.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 190;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);
  height: var(--navbar-height);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.35s ease;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  gap: var(--space-md);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link.active {
  color: var(--color-primary);
  background-color: rgba(29, 77, 94, 0.07);
}

.main-nav__link i.chevron {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.main-nav__item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown Panel */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

/* Invisible bridge pseudo-element to prevent dropdown from closing when cursor crosses the gap */
.dropdown-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  display: block;
}

.main-nav__item:hover .dropdown-panel,
.main-nav__item:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Megamenu panel (wider) */
.dropdown-panel--mega {
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  left: 0;
  transform: translateX(0) translateY(8px);
}
.main-nav__item:hover .dropdown-panel--mega {
  transform: translateX(0) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-link:hover {
  background-color: rgba(29, 77, 94, 0.06);
  color: var(--color-primary);
}

.dropdown-link__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(29, 77, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.dropdown-link:hover .dropdown-link__icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.dropdown-link__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.dropdown-link__text span {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Body offset for fixed headers */
.header-offset {
  padding-top: var(--header-total);
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(29, 77, 94, 0.22);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 77, 94, 0.30);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}
.btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.40);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   8. HERO — SPLIT LAYOUT (Anti-Overlay Rule)
   -------------------------------------------------------------------------- */
.hero {
  min-height: calc(90vh - var(--header-total));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  padding-block: var(--space-2xl);
  background: linear-gradient(135deg, #f0f5f7 0%, var(--color-bg) 60%, #e8f2f5 100%);
  overflow: hidden;
  position: relative;
}

/* Decorative background element */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,162,39,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content { z-index: 2; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}

.hero__headline {
  margin-bottom: var(--space-sm);
}

.hero__headline mark {
  background: none;
  color: var(--color-accent);
  font-style: italic;
}

.hero__subline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero__trust-badges {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.trust-badge i {
  color: var(--color-accent);
  font-size: 0.95rem;
}

.hero__image-wrap {
  position: relative;
  z-index: 2;
}

.hero__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover);
}

/* Floating badge on hero image */
.hero__img-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.hero__img-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero__img-badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}
.hero__img-badge-text span {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   9. TRUST BAR (Glassmorphism)
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--color-primary);
  padding: var(--space-md) 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-bar__item i {
  color: var(--color-accent);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   10. SECTION INTRO (Problem / Solution)
   -------------------------------------------------------------------------- */
.section-intro {
  text-align: center;
  max-width: var(--container-md);
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-intro h2 { margin-bottom: var(--space-sm); }
.section-intro p { font-size: 1.05rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   11. SERVICE CARDS GRID
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(29, 77, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Service Card Image Layout */
.service-card--has-image {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.service-card__image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.06);
}

.service-card__content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: var(--transition-fast);
}
.service-card__link i { font-size: 0.75rem; transition: transform 0.2s ease; }
.service-card__link:hover { color: var(--color-accent-dark); }
.service-card__link:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   12. COMPARISON / "WHY US" TABLE
   -------------------------------------------------------------------------- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 820px;
  margin-inline: auto;
}

.comparison-card {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.comparison-card--competitor {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.comparison-card--us {
  background: var(--color-primary);
  border: 1px solid var(--color-primary-dark);
  box-shadow: var(--shadow-hover);
}

.comparison-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.comparison-card--competitor .comparison-card__title {
  color: var(--color-text-muted);
  border-bottom-color: var(--color-border);
}

.comparison-card--us .comparison-card__title {
  color: var(--color-white);
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.comparison-list li:last-child { border-bottom: none; }

.comparison-card--competitor .comparison-list li { color: var(--color-text-muted); }
.comparison-card--us .comparison-list li { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.08); }

.icon-check { color: var(--color-accent); font-size: 0.95rem; flex-shrink: 0; }
.icon-x     { color: var(--color-danger); font-size: 0.95rem; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   13. PROCESS STEPS
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.25;
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 16px rgba(29, 77, 94, 0.25);
}

.step-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.step-card__text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS / REVIEWS
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-sm);
}
.testimonial-stars i { color: var(--color-accent); font-size: 0.9rem; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(29, 77, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}
.testimonial-name span {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   15. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list { max-width: var(--container-md); margin-inline: auto; }

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  background: var(--color-bg-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: var(--color-primary); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--color-primary);
  gap: var(--space-sm);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item__body {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   16. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xl);
}

.cta-banner__headline {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.cta-banner__sub {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 0;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: flex-end;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   17. SEO FOOTER BLOCK (Otto-Style Pre-Footer)
   -------------------------------------------------------------------------- */
.seo-block {
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

.seo-block h2, .seo-block h3 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.seo-block h3 {
  font-size: 1.05rem;
  margin-top: var(--space-md);
}

.seo-block p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.seo-block a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(29,77,94,0.25);
  text-underline-offset: 2px;
}
.seo-block a:hover { color: var(--color-accent-dark); }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand__logo img {
  height: 44px;
  width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-md);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.footer-contact-item i {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--color-accent); padding-left: 4px; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-md);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
}
.footer-legal-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
.footer-legal-links a:hover { color: var(--color-white); }

/* --------------------------------------------------------------------------
   19. MICRO-ANIMATIONS (Intersection Observer)
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grids */
.fade-in-up:nth-child(1) { transition-delay: 0s; }
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   20. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  padding: var(--space-lg);
  padding-top: calc(var(--header-total) + var(--space-md));
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-primary);
  cursor: pointer;
}

.mobile-nav__links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav__links a:hover { color: var(--color-primary); }

/* --------------------------------------------------------------------------
   21. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border-light);
  margin-block: var(--space-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}
.badge--accent { background: rgba(201,162,39,0.12); color: var(--color-accent-dark); border: 1px solid rgba(201,162,39,0.3); }
.badge--primary { background: rgba(29,77,94,0.1); color: var(--color-primary); border: 1px solid rgba(29,77,94,0.2); }
.badge--success { background: rgba(46,125,82,0.1); color: var(--color-success); border: 1px solid rgba(46,125,82,0.2); }

/* Highlight accent text inline */
.text-accent   { color: var(--color-accent); }
.text-primary  { color: var(--color-primary); }
.text-muted    { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   22. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: var(--space-xl);
  }
  .hero__subline { max-width: 100%; }
  .hero__actions, .hero__trust-badges { justify-content: center; }
  .hero__image-wrap { order: -1; }
  .hero__img { height: 350px; }
  .hero__img-badge { left: 16px; }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 40px;
    --navbar-height: 60px;
    --header-total: 100px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .cta-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner__actions { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .top-bar__address { display: none; }
  .hero__img-badge { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .trust-bar__inner { flex-direction: column; gap: var(--space-sm); }
}

/* ==========================================================================
   23. CONTACT FORM STYLES
   ========================================================================== */
.contact-form-container {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  max-width: 640px;
  margin: var(--space-md) auto 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  position: relative;
  width: 100%;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(29, 77, 94, 0.1);
}

/* Watermark placeholder styling */
.form-control::placeholder {
  color: var(--color-text-light);
  opacity: 0.75;
  transition: var(--transition-fast);
}

.form-control:focus::placeholder {
  opacity: 0.4;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-weight: 600;
  display: none;
  font-size: 0.9rem;
}

.form-message--success {
  background: rgba(46, 125, 82, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(46, 125, 82, 0.2);
}

.form-message--error {
  background: rgba(192, 57, 43, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

/* ==========================================================================
   24. COOKIE BANNER STYLES
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem var(--space-sm);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 -8px 32px rgba(13, 31, 39, 0.4);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   25. GDPR FORM CONSENT STYLES
   ========================================================================== */
.form-checkbox-label {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.form-checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: var(--space-sm);
  }
  .cookie-banner__actions {
    justify-content: center;
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1;
  }
}
