/* ============================================================
   CONSULTEQ — Discreet & Professional Redesign
   Aesthetic: Minimalist, Trustworthy, High-End
   ============================================================ */

/* Self-hosted fonts to avoid Consent Tools */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v13-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v13-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors from Logo */
  --brand-green: #004830;
  --brand-gold:  #C49226;
  --brand-gold-light: #F9E076;
  
  /* Neutrals */
  --paper:   #ffffff;
  --cream:   #fbfaf6;
  --ink:     #1a2520;
  --ink-light: #5a6a62;
  --border:  #eef1ef;

  /* System */
  --radius:    4px;
  --container: 1140px;
  --gap:       2rem;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Playfair Display", serif;
  
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--brand-green);
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; }

.lead {
  font-size: 1.25rem;
  color: var(--ink-light);
  max-width: 65ch;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

section { padding: 8rem 0; }
.section-light { background: var(--cream); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  section { padding: 5rem 0; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--t);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand-green);
  color: white;
}
.btn-primary:hover {
  background: var(--brand-gold);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--brand-green);
  color: var(--brand-green);
}
.btn-outline:hover {
  background: var(--brand-green);
  color: white;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1.4rem 0;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0; padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--brand-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-switch {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lang-switch a {
  text-decoration: none;
  color: var(--ink-light);
  transition: color 0.2s;
}

.lang-switch a.active, .lang-switch a:hover {
  color: var(--brand-green);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 18px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transition: 0.3s;
}

.menu-toggle span:nth-child(2) { margin: 6px 0; }

/* Mobile Menu Overlay */
@media (max-width: 980px) {
  .site-header.menu-open {
    background: white;
    height: 100vh;
  }

  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 4rem 2rem;
    gap: 2rem;
    border-top: 1px solid var(--border);
    animation: slideDown 0.4s ease-out forwards;
  }

  .site-header.menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 4rem; left: 0; right: 0;
    align-items: center;
    gap: 2rem;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 12rem;
  padding-bottom: 8rem;
  background: var(--cream);
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2.5rem; }

.hero-cta { display: flex; gap: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.service-card {
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  background: white;
  transition: border-color var(--t);
}

.service-card:hover {
  border-color: var(--brand-gold);
}

.service-card .icon {
  color: var(--brand-gold);
  margin-bottom: 1.5rem;
}

.service-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.2rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-row { margin-bottom: 1.5rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--t);
  background: white;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 0.85rem;
  cursor: pointer;
}

.checkbox input { margin-top: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 6rem 0 3rem;
  background: var(--brand-green);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.site-footer h5 {
  color: var(--brand-gold);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
}

.footer-links li { margin-bottom: 1rem; }

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.footer-bottom .legal {
  display: flex;
  gap: 2rem;
}

.footer-bottom .legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom .legal a:hover {
  color: var(--brand-gold);
}

/* ============================================================
   ANIMATIONS (Subtle)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 3.5rem;
}

.trust-logos span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-light);
  opacity: 0.65;
  white-space: nowrap;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  padding: 5rem 0;
  background: var(--brand-green);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================================
   CLIENT GRID (Referenzen page)
   ============================================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1000px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .client-grid { grid-template-columns: 1fr 1fr; }
}

.client-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border);
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-green);
  letter-spacing: 0.01em;
  transition: border-color var(--t);
}

.client-name:hover { border-color: var(--brand-gold); }

.client-name span {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   HERO REASSURANCE
   ============================================================ */
.hero-reassurance {
  font-size: 0.82rem;
  color: var(--ink-light);
  letter-spacing: 0.06em;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* ============================================================
   INLINE SERVICE CTA
   ============================================================ */
.service-inline-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.service-inline-cta:hover { opacity: 0.7; }

/* ============================================================
   FORM EXTRAS
   ============================================================ */
.label-optional {
  font-size: 0.75rem;
  color: var(--ink-light);
  font-weight: 400;
  margin-left: 0.3rem;
}

.form-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-light);
  margin-top: 1rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}
