/*
Theme Name: Santos Systems V2 Modular
Author: Santos Systems
Description: Premium WordPress Theme mit Customizer, Bild-Cards, Industrieanwendungen, Profibus/Profinet und modularen Sections.
Version: 4.2.3
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: santos-systems-v2-modular
*/

:root {
  --bg: #050816;
  --bg2: #070b1a;
  --card: #0b1020;
  --blue: #0a84ff;
  --blue2: #60a5fa;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

body.admin-bar .site-header { top: 32px; }

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

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

.ss-container {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

section { padding: 125px 0; }

.blue { color: var(--blue); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.82);
  backdrop-filter: blur(20px);
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo,
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo img {
  width: auto;
  height: 200px;
  max-height: 200px;
  object-fit: contain;
}

.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #60c8ff, var(--blue) 55%, #0047ff);
  box-shadow: 0 0 38px rgba(10, 132, 255, 0.42);
  font-size: 26px;
  font-weight: 900;
}

.logo-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.25em;
}

.logo-sub {
  margin-top: 5px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.menu a:hover { color: #fff; }

/* Buttons */
.btn {
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid rgba(10, 132, 255, 0.55);
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 40px rgba(10, 132, 255, 0.36);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(5, 8, 22, 0.92) 46%,
    rgba(5, 8, 22, 0.22) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: center;
}

.kicker {
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.kicker::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--blue);
}

h1 {
  margin: 0 0 34px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(54px, 5.6vw, 82px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 690px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
  line-height: 1.75;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  max-width: 720px;
  justify-self: end;	
}

.hero-card img {
  width: 100%;
  height: 720px;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 56%);
}

.hero-card-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 34px;
}

.hero-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--blue2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: 31px;
  line-height: 1.08;
}

/* Stats */
.stats {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.035);
}

.stat strong {
  display: block;
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Section heads */
.section-head {
  max-width: 900px;
  margin-bottom: 64px;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.section-head h2,
.split-text h2,
.cta h2 {
  margin: 0 0 24px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-head p,
.split-text p,
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.section-head--split p { max-width: 520px; }

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 132, 255, 0.55);
}

.service-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,132,255,.18), rgba(255,255,255,.04));
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: 0.7s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.06);
  opacity: 0.52;
}

.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(5,8,22,.72) 42%, rgba(5,8,22,.2) 100%);
}

.service-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 30px;
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid rgba(10,132,255,.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,132,255,.12);
  color: var(--blue2);
  font-size: 26px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.13;
}

.service-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.7;
}

/* Industry */
.industry {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.industry-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.industry-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--card);
}

.industry-visual img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  opacity: 0.72;
}

.industry .split-text h2 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 0.98;
  max-width: 620px;
}

.industry-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg2), transparent 58%);
}

.tech-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.tech-item {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
  transition: .3s ease;
}

.tech-item:hover {
  border-color: rgba(10,132,255,.4);
  transform: translateY(-4px);
}

.tech-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.tech-item span {
  color: var(--muted);
  font-size: 14px;
}

/* Projects */
.projects {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.project {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(0,0,0,.28);
}

.project img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.7s ease;
}

.project:hover img { transform: scale(1.06); }

.project-body { padding: 28px; }

.project small {
  display: block;
  margin-bottom: 12px;
  color: var(--blue2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .23em;
}

.project h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.project p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* About */
.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 78px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,.04);
}

.about-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.checks {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.check {
  display: flex;
  gap: 13px;
  color: rgba(255,255,255,.78);
}

.check b { color: var(--blue2); }

/* CTA */
.cta {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(10,132,255,.2), rgba(10,132,255,.04), transparent);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta p { max-width: 720px; }

/* Footer */
.footer { padding: 86px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
}

.footer p {
  color: var(--muted);
  font-size: 18px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

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

.footer-title {
  margin-bottom: 24px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.footer-links {
  display: grid;
  gap: 14px;
  color: rgba(255,255,255,.72);
}

.socials {
  display: flex;
  gap: 14px;
}

.social {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.72);
}

.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  body.admin-bar .site-header { top: 46px; }

  .menu,
  .nav > .btn { display: none; }

  .nav { height: 78px; }

  .hero { padding-top: 110px; }

  .hero-inner,
  .industry-layout,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img,
  .about-image img,
  .industry-visual,
  .industry-visual img {
    height: 460px;
    min-height: 460px;
  }

  .stats-grid,
  .card-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head--split,
  .cta-inner { display: block; }

  .section-head--split p,
  .cta .btn { margin-top: 28px; }

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

  .mobile-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 999;
    display: flex;
  }

  .mobile-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  .ss-container { padding-right: 18px; padding-left: 18px; }

  h1 { font-size: 50px; }

  .lead { font-size: 18px; }

  .stats-grid,
  .card-grid,
  .project-grid,
  .tech-list {
    grid-template-columns: 1fr;
  }

  section { padding: 90px 0; }

  .hero-card img,
  .about-image img,
  .industry-visual,
  .industry-visual img {
    height: 360px;
    min-height: 360px;
  }

  .logo-title { font-size: 19px; }

  .logo-sub { letter-spacing: .32em; }
}

.legal-page {
  padding: 180px 0 120px;
  background: #050816;
  color: white;
}

.legal-page h1 {
  font-size: 64px;
  margin-bottom: 60px;
}

.legal-page h2 {
  font-size: 26px;
  margin-top: 50px;
  margin-bottom: 16px;
  color: #0A84FF;
}

.legal-page p {
  color: rgba(255,255,255,.72);
  line-height: 1.9;
  font-size: 18px;
  max-width: 900px;
}

/* ==========================================================================
   Footer Legal
========================================================================== */

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-legal a {
  transition: 0.25s ease;
}

.footer-legal a:hover {
  color: #fff;
}


/* ==========================================================================
   Legal Content Fix
========================================================================== */

.legal-page {
  min-height: 100vh;
  padding: 180px 0 120px;
  background:
    radial-gradient(circle at 70% 0%, rgba(10,132,255,.12), transparent 34%),
    var(--bg);
  color: #fff;
}

.legal-page-inner {
  max-width: 980px;
}

.legal-content {
  max-width: 920px;
}

.legal-content h2 {
  margin: 46px 0 16px;
  color: var(--blue2);
  font-size: 26px;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 34px 0 12px;
  color: #fff;
  font-size: 21px;
}

.legal-content p,
.legal-content li {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.85;
}

.legal-content ul {
  margin: 18px 0 26px 24px;
  padding: 0;
}

.legal-content a {
  color: var(--blue2);
}
