/* ============================================================
   hackitworks – Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- Custom Properties – Light (default) ---------- */
:root {
  --primary:       #1E3A5F;
  --primary-light: #2D5A8E;
  --accent:        #E8A020;
  --accent-dark:   #C8880A;
  --bg:            #F5F7FA;
  --white:         #FFFFFF;
  --text:          #1A1A2E;
  --text-muted:    #6B7280;
  --border:        #E2E8F0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  --radius:        10px;
  --radius-lg:     16px;
  --transition:    .25s ease;
  /* Dark-mode toggle icon */
  --dm-icon: "🌙";
}

/* ---------- Dark Mode – System preference ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary:       #4A90D9;
    --primary-light: #6AAEE8;
    --accent:        #F0B030;
    --accent-dark:   #D49020;
    --bg:            #0F1117;
    --white:         #1A1D27;
    --text:          #E8EAF0;
    --text-muted:    #9BA3AF;
    --border:        #2A2D3A;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.30);
    --shadow-md:     0 4px 16px rgba(0,0,0,.40);
    --shadow-lg:     0 8px 32px rgba(0,0,0,.50);
    --dm-icon: "☀️";
  }
}

/* ---------- Dark Mode – Manual override ---------- */
[data-theme="dark"] {
  --primary:       #4A90D9;
  --primary-light: #6AAEE8;
  --accent:        #F0B030;
  --accent-dark:   #D49020;
  --bg:            #0F1117;
  --white:         #1A1D27;
  --text:          #E8EAF0;
  --text-muted:    #9BA3AF;
  --border:        #2A2D3A;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.30);
  --shadow-md:     0 4px 16px rgba(0,0,0,.40);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.50);
  --dm-icon: "☀️";
}

[data-theme="light"] {
  --primary:       #1E3A5F;
  --primary-light: #2D5A8E;
  --accent:        #E8A020;
  --accent-dark:   #C8880A;
  --bg:            #F5F7FA;
  --white:         #FFFFFF;
  --text:          #1A1A2E;
  --text-muted:    #6B7280;
  --border:        #E2E8F0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  --dm-icon: "🌙";
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(232,160,32,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-nav {
  background: var(--accent);
  color: var(--white);
  padding: .5rem 1.125rem;
  font-size: .875rem;
}
.btn-nav:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(232,160,32,.3);
}

/* Dark-Mode Toggle Button */
.btn-theme {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.btn-theme:hover {
  background: var(--border);
  transform: rotate(15deg) scale(1.1);
}

/* ---------- Navigation ---------- */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo .logo-name {
  font-size: 1.375rem;
  font-weight: 800;
}
.logo-hack  { color: var(--text); }
.logo-it    { color: var(--primary); }
.logo-works { color: var(--primary); }

/* Footer light mode: dunkler Hintergrund → hack weiß, ITworks hellblau */
.footer-logo-name .logo-hack  { color: rgba(255,255,255,.85); }
.footer-logo-name .logo-it,
.footer-logo-name .logo-works { color: #93C5FD; }

/* Footer dark mode: heller Hintergrund → alles dunkel */
[data-theme="dark"] .footer-logo-name .logo-hack,
[data-theme="dark"] .footer-logo-name .logo-it,
[data-theme="dark"] .footer-logo-name .logo-works { color: #0F1A2E; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-logo-name .logo-hack,
  :root:not([data-theme="light"]) .footer-logo-name .logo-it,
  :root:not([data-theme="light"]) .footer-logo-name .logo-works { color: #0F1A2E; }
}
.nav-logo .logo-tag {
  font-size: .6875rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
[data-theme="dark"] .nav-logo-img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-logo-img { filter: brightness(0) invert(1); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .4rem .75rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg);
}

.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .6rem .75rem;
  border-radius: 6px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-menu a:hover { background: var(--bg); color: var(--primary); }
.mobile-menu .btn-nav { margin-top: .5rem; text-align: center; justify-content: center; }

/* ---------- Hero ---------- */
#hero {
  background: linear-gradient(135deg, var(--primary) 0%, #153050 60%, #0D2040 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem .875rem;
  font-size: .8125rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.125rem;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.trust-badge .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(74,222,128,.2);
  display: flex; align-items: center; justify-content: center;
  color: #4ADE80;
  font-size: .75rem;
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 360px;
}
.hero-card-title {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}
.hero-service-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-service-item:last-child { border-bottom: none; }
.hero-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(232,160,32,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.hero-service-info .name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--white);
}
.hero-service-info .desc {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Section spacing ---------- */
section { padding: 5rem 0; }
section:nth-child(even) { background: var(--white); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}
.service-card .card-sub {
  font-size: .9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.75rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9375rem;
  color: var(--text);
}
.service-list li .li-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ---------- About ---------- */
#ueber-mich { background: var(--bg); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-photo {
  width: 300px;
  height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-lg);
}
.about-exp-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: .75rem 1.125rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-exp-badge .years { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-exp-badge .label { font-size: .75rem; font-weight: 600; margin-top: .15rem; }

.about-text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-quals {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 2rem;
}
.qual-tag {
  background: rgba(30,58,95,.08);
  color: var(--primary);
  border-radius: 50px;
  padding: .3rem .875rem;
  font-size: .8125rem;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.125rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-size: 1.625rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: .8125rem; color: var(--text-muted); margin-top: .3rem; }

/* ---------- Prices ---------- */
#preise { background: var(--white); }

.prices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.price-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.price-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .875rem;
  border-radius: 50px;
  white-space: nowrap;
}

.price-icon { font-size: 2rem; margin-bottom: 1rem; }
.price-name { font-size: 1.125rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.price-tagline { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: .25rem;
}
.price-amount sup { font-size: 1.125rem; vertical-align: super; font-weight: 700; }
.price-period { font-size: .8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.price-features { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 2rem; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text);
}
.price-features li .li-check { color: #22C55E; flex-shrink: 0; font-weight: 700; margin-top: .05rem; }

.price-note {
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
}

/* ---------- Warum hackitworks (ehem. Referenzen) ---------- */
#referenzen { background: var(--bg); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.value-icon {
  font-size: 2rem;
  margin-bottom: .875rem;
  display: block;
}
.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}
.value-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* First-review call-to-action box */
.first-review-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
}
.first-review-stars {
  font-size: 2rem;
  letter-spacing: .2em;
  margin-bottom: 1rem;
  opacity: .6;
}
.first-review-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.first-review-box p {
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

/* ---------- Kontakt ---------- */
#kontakt { background: var(--white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Form */
.contact-form-wrap { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: .6875rem .9375rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45,90,142,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  margin-top: .2rem;
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.form-checkbox span {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-checkbox a { color: var(--primary-light); text-decoration: underline; }

.cf-turnstile-wrap { margin-bottom: 1.25rem; }

.form-success {
  display: none;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #166534;
  font-size: .9375rem;
  margin-top: 1rem;
}

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.info-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.info-items { display: flex; flex-direction: column; gap: .875rem; }
.info-item { display: flex; align-items: flex-start; gap: .875rem; }
.info-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(30,58,95,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-label { font-size: .8125rem; color: var(--text-muted); margin-bottom: .125rem; }
.info-value { font-size: .9375rem; font-weight: 500; color: var(--text); }
.info-value a { color: var(--primary-light); }
.info-value a:hover { text-decoration: underline; }

.hours-grid { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.hours-day { font-size: .875rem; color: var(--text-muted); }
.hours-time { font-size: .875rem; font-weight: 500; color: var(--text); }

/* ---------- Footer ---------- */
#footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .875rem;
}
.footer-logo-img {
  height: 68px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.footer-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo-tag {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.social-links { display: flex; gap: .5rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem;
  transition: background var(--transition);
}
.social-link:hover { background: rgba(255,255,255,.2); }

.footer-col-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p, .footer-bottom a { font-size: .8125rem; }
.footer-bottom a { transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 1.25rem; }

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-inner { gap: 2rem; }
  .about-inner { gap: 2.5rem; }
  .contact-inner { gap: 2.5rem; }
}

@media (max-width: 1024px) {
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-nav { display: none; }
  .hamburger { display: flex; }

  section { padding: 3.5rem 0; }

  .services-grid { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-badges { flex-direction: column; gap: .625rem; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Dark-mode specific overrides ---------- */

/* Body background */
[data-theme="dark"] body,
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body { background: var(--bg); } }

/* Service & Review cards: use slightly lighter surface */
[data-theme="dark"] .service-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .stat-item {
  background: #1E2130;
  border-color: var(--border);
}

/* qual-tag: fix hardcoded rgba */
[data-theme="dark"] .qual-tag {
  background: rgba(74,144,217,.15);
}

/* info-card */
[data-theme="dark"] .info-card {
  background: #1E2130;
}

/* info-icon */
[data-theme="dark"] .info-icon {
  background: rgba(74,144,217,.15);
}

/* price-note */
[data-theme="dark"] .price-note {
  background: #1E2130;
}

/* form inputs */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #1E2130;
  color: var(--text);
}

/* form success */
[data-theme="dark"] .form-success {
  background: #0D2D1A;
  border-color: #1A5C36;
  color: #86EFAC;
}

/* footer stays dark in both modes – already uses --primary which shifts in dark mode */

/* Mobile menu */
[data-theme="dark"] .mobile-menu {
  background: #1A1D27;
  border-color: var(--border);
}

/* Prefers-dark equivalents (mirrors [data-theme="dark"] above) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service-card,
  :root:not([data-theme="light"]) .value-card,
  :root:not([data-theme="light"]) .stat-item { background: #1E2130; border-color: var(--border); }
  :root:not([data-theme="light"]) .qual-tag   { background: rgba(74,144,217,.15); }
  :root:not([data-theme="light"]) .info-card  { background: #1E2130; }
  :root:not([data-theme="light"]) .info-icon  { background: rgba(74,144,217,.15); }
  :root:not([data-theme="light"]) .price-note { background: #1E2130; }
  :root:not([data-theme="light"]) .form-group input,
  :root:not([data-theme="light"]) .form-group select,
  :root:not([data-theme="light"]) .form-group textarea { background: #1E2130; color: var(--text); }
  :root:not([data-theme="light"]) .form-success { background: #0D2D1A; border-color: #1A5C36; color: #86EFAC; }
  :root:not([data-theme="light"]) .mobile-menu  { background: #1A1D27; border-color: var(--border); }
}

