/* ==========================================================================
   TitanShield GmbH — Stylesheet
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-card: #ffffff;
  --color-navy: #082848;
  --color-navy-light: #123a63;
  --color-text: #10202f;
  --color-text-muted: #5b6b7c;
  --color-accent: #c49c4c;
  --color-accent-light: #d4af66;
  --color-accent-dark: #9c7a2f;
  --color-border: #e2e6ec;
  --max-width: 1160px;
  --radius: 6px;
  --font-heading: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.3px;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-accent-light);
}

.btn-outline {
  border-color: var(--color-accent);
  color: var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-navy);
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(8, 40, 72, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.brand-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-text);
  display: block;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 110px 0 90px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 249, 0.97)),
    repeating-linear-gradient(135deg, rgba(8, 40, 72, 0.05) 0 2px, transparent 2px 40px);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(8, 40, 72, 0.06);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-dark);
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ---------------- Cards / Grids ---------------- */

.grid {
  display: grid;
  gap: 1.75rem;
}

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

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(8, 40, 72, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(196, 156, 76, 0.16);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card ul {
  margin-top: 0.75rem;
}

.card ul li {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ---------------- About / split sections ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img,
.split .placeholder-img {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.placeholder-img {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* Real photography — fills its box edge to edge, no frame */
.feature-photo,
.product-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: none;
  padding: 0;
}

.feature-photo {
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
}

.product-photo {
  aspect-ratio: 1 / 1;
  margin-bottom: 1.1rem;
}

.value-list {
  margin-top: 1.5rem;
}

.value-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.value-list strong {
  color: var(--color-text);
  display: block;
}

/* ---------------- CTA band ---------------- */

.cta-band {
  background: linear-gradient(120deg, var(--color-navy-light), var(--color-navy));
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid var(--color-border);
  color: #ffffff;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------------- Forms ---------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

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

input,
select,
textarea {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}

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

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ---------------- Contact info blocks ---------------- */

.info-list {
  margin-top: 1.5rem;
}

.info-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.info-list .label {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  min-width: 110px;
}

.info-list .value {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------------- Legal pages ---------------- */

.legal {
  max-width: 780px;
}

.legal h2 {
  margin-top: 2.5rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  margin-bottom: 0.9rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4rem;
}

.legal a {
  color: var(--color-navy);
  text-decoration: underline;
}

.legal .placeholder {
  display: inline-block;
  color: #8a1020;
  background: #fdf0f1;
  border: 1px dashed #c0392b;
  border-radius: 4px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

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

.footer-grid h4 {
  color: var(--color-text);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid p,
.footer-grid a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.footer-grid ul li {
  margin-bottom: 0.6rem;
}

.footer-grid ul li a:hover {
  color: var(--color-navy);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom a:hover {
  color: var(--color-navy);
}

/* ---------------- Category nav (product catalog) ---------------- */

.category-nav {
  position: sticky;
  top: 69px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
}

.category-nav .container {
  display: flex;
  gap: 0.75rem;
  padding: 14px 24px;
  overflow-x: auto;
}

.category-nav a {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.category-nav a:hover {
  color: var(--color-navy);
  border-color: var(--color-accent);
}

.category-section {
  scroll-margin-top: 140px;
}

/* ---------------- Product cards ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(8, 40, 72, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.product-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--color-navy);
  background: rgba(196, 156, 76, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.product-card h3 {
  font-size: 1.05rem;
}

.product-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-card .btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
}

/* ---------------- Branding note ---------------- */

.branding-note {
  background: rgba(196, 156, 76, 0.12);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.branding-note strong {
  display: block;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

/* ---------------- Info banner ---------------- */

.info-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 3rem;
}

.info-banner p {
  margin: 0;
}

/* ---------------- Page header (inner pages) ---------------- */

.page-header {
  padding: 70px 0 50px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-header .eyebrow {
  margin-bottom: 0.5rem;
}

.breadcrumb {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.breadcrumb a {
  color: var(--color-navy);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 1.5rem 24px;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 16px rgba(8, 40, 72, 0.08);
  }

  .grid-3,
  .grid-2,
  .product-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-nav {
    top: 65px;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
