/* argentics GmbH — site.css
   Fonts: DM Sans via Google Fonts (dev) / WOFF2 self-hosted (prod)
   Icons: Tabler Icons via CDN
*/

:root {
  --brand:       #BE0022;
  --brand-pale:  #fce8eb;
  --mid:         #8C8C8C;
  --dark:        #1A1A1A;
  --text:        #1E1E1E;
  --text-muted:  #555;
  --bg:          #fff;
  --bg2:         #f6f6f6;
  --border:      #e8e8e8;
  --radius:      10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.ag-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────────── */

.ag-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ag-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ag-logo-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: -0.2px;
}

.ag-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.ag-nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.ag-nav-links a:hover { color: var(--brand); }

.ag-nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 500 !important;
}

.ag-nav-cta:hover { background: #960019 !important; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */

.ag-hero {
  padding: 72px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.ag-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.ag-hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.ag-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.ag-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background .2s;
}

.ag-cta:hover { background: #960019; }

.ag-hero-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ag-hcard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ag-hcard-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-pale);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}

.ag-hcard strong { display: block; font-size: 14px; font-weight: 500; }
.ag-hcard span   { font-size: 12px; color: var(--text-muted); }

/* ── Section labels ──────────────────────────────────────────────────────────── */

.ag-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.ag-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand);
  flex-shrink: 0;
}

.ag-section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 48px;
}

/* ── Services ────────────────────────────────────────────────────────────────── */

.ag-services {
  background: var(--bg2);
  padding: 72px 0;
}

.ag-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ag-scard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.ag-scard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.ag-scard-bar {
  height: 3px;
  background: var(--brand);
  margin: -32px -28px 28px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.ag-sicon {
  width: 44px;
  height: 44px;
  background: var(--brand-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 20px;
}

.ag-scard h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.ag-scard p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }

.ag-slink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  transition: gap .2s;
}

.ag-slink:hover { gap: 9px; }

/* ── Arbeitsweise ────────────────────────────────────────────────────────────── */

.ag-how { padding: 72px 0; }

.ag-how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.ag-how-text p {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ag-steps { display: flex; flex-direction: column; gap: 24px; }

.ag-step { display: flex; gap: 16px; align-items: flex-start; }

.ag-step-num {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

.ag-step h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.ag-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Kontakt ─────────────────────────────────────────────────────────────────── */

.ag-contact { background: #1B1B1B; padding: 72px 0; }

.ag-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ag-contact h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.ag-contact h2 em { font-style: normal; color: var(--brand); }
.ag-contact > .ag-inner > .ag-contact-grid > div > p {
  color: #888;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.ag-form { display: flex; flex-direction: column; gap: 12px; }

.ag-form input,
.ag-form textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.ag-form input:focus,
.ag-form textarea:focus  { border-color: var(--brand); }
.ag-form input::placeholder,
.ag-form textarea::placeholder { color: rgba(255,255,255,.3); }
.ag-form textarea { resize: vertical; }

.ag-form button {
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}

.ag-form button:hover { background: #960019; }

.ag-form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
}

.ag-form-success .ti { font-size: 32px; color: #4caf50; }
.ag-form-success strong { font-size: 18px; font-weight: 500; }
.ag-form-success span   { color: #888; font-weight: 300; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */

.ag-footer {
  background: #111;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ag-footer p, .ag-footer-links a {
  font-size: 12px;
  color: #444;
  text-decoration: none;
}

.ag-footer-links { display: flex; gap: 20px; }
.ag-footer-links a:hover { color: #666; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .ag-nav { padding: 0 16px; }
  .ag-nav-links li:not(:last-child) { display: none; }

  .ag-hero {
    grid-template-columns: 1fr;
    padding: 48px 16px;
  }
  .ag-hero-cards { display: none; }

  .ag-inner { padding: 0 16px; }

  .ag-services { padding: 48px 0; }
  .ag-services-grid { grid-template-columns: 1fr; }

  .ag-how { padding: 48px 0; }
  .ag-how-grid { grid-template-columns: 1fr; gap: 32px; }

  .ag-contact { padding: 48px 0; }
  .ag-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Legal pages */
.ag-legal {
  padding: 6rem 1.5rem 4rem;
}
.ag-legal h1 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.ag-legal h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ag-legal p {
  color: var(--ag-muted, #666);
  line-height: 1.7;
}
.ag-legal a {
  color: inherit;
}
