/* =========================
   RESET & GLOBAL
========================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  height: 120px;
  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border-bottom: 1px solid #ffffff;

  position: sticky;
  top: 0;
  z-index: 9999;
}

.logo img {
  width: 240px;
  /*padding: 5px 5px;*/
  /*border: 3px solid #0b2346;
  border-radius: 22px;*/
  /*background: #fff;*/
  display: block;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 18px;
}

.header-center img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  transition: 0.25s ease;
}

.nav a:hover {
  color: #0b2341;
}

.contact-btn {
  background: #0b2341;
  color: #ffffff !important;
  padding: 16px 30px;
}

.contact-btn:hover {
  background: #173963;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;

  width: 100%;
  min-height: 88vh;

  background-image: url("assets/Hero3.jpg");
  background-size: cover;
  background-position: center 40%;

  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;

  color: #ffffff;
}

.hero-content h1 {
  font-size: 74px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 22px;
  max-width: 800px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.primary-btn,
.secondary-btn {
  text-decoration: none;
  padding: 18px 34px;
  font-weight: 600;
  transition: 0.3s ease;
}

.primary-btn {
  background: #ffffff;
  color: #000000;
}

.secondary-btn {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.primary-btn:hover {
  transform: translateY(-4px);
}

.secondary-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 52px;
  color: #0b2341;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 22px;
  color: #666666;
}

/* =========================
   ABOUT
========================= */

.about-section {
  display: flex;
  align-items: center;
  gap: 70px;
}

.about-image {
  flex: 0 0 450px;
}

.about-image img {
  width: 450px;
  height: 600px;
  object-fit: cover;
  display: block;
}

.about-content {
  position: relative;
  flex: 1;
  z-index: 1;
}

.about-content::before {
  content: "";
  position: absolute;

  top: 70%;
  left: 90%;
  transform: translate(-50%, -50%);

  width: 620px;
  height: 620px;

  background-image: url("assets/Logo-SV-JavierMendezDepine.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.035;
  filter: grayscale(100%);

  z-index: -1;
  pointer-events: none;
}

.about-content h2 {
  font-size: 50px;
  margin-bottom: 30px;
  color: #0b2341;
}

.about-content p {
  font-size: 19px;
  margin-bottom: 24px;
}

.about-content ul {
  margin-left: 20px;
}

.about-content li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* =========================
   SERVICES
========================= */

.services {
  background: #f7f7f7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #0b2341;
}

.service-card:hover h3,
.service-card:hover .service-subtitle,
.service-card:hover p,
.service-card:hover .service-link {
  color: #ffffff;
}

.service-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #111111;
}

.service-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #111111;
  line-height: 1.5;
}

.service-card p {
  color: #444444;
  line-height: 1.9;
  margin-bottom: 24px;
  font-size: 17px;
}

.service-link {
  margin-top: auto;

  color: #0b2341;
  text-decoration: none;

  font-weight: 700;
  font-size: 18px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition: 0.25s ease;
}

.service-link:hover {
  gap: 16px;
}

/* =========================
   FAQ
========================= */

#faq {
  position: relative;
  overflow: hidden;
}

#faq::before,
#faq::after {
  content: "";
  position: absolute;

  width: 520px;
  height: 520px;

  background-image: url("assets/Logo-SV-JavierMendezDepine.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.035;
  filter: grayscale(100%);
  pointer-events: none;

  z-index: 1;
}

#faq::before {
  top: 95px;
  left: 55%;
}

#faq::after {
  top: 245px;
  left: 60%;
}

#faq .container {
  position: relative;
  z-index: 2;
}

.faq-box {
  border-bottom: 1px solid #e5e5e5;
  padding: 30px 0;
}

.faq-box h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.faq-box p {
  font-size: 18px;
  color: #555555;
}

/* =========================
   CONTACT
========================= */

.contact-section {
  background: #0b2341;
  color: #ffffff;
}

.contact-section .section-title h2 {
  color: #ffffff;
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-box p {
  font-size: 20px;
  margin-bottom: 18px;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #071629;
  padding: 30px 40px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 16px;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* =========================
   DATENSCHUTZ / IMPRESSUM
========================= */

.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 30px;
}

.content h1 {
  font-size: 54px;
  color: #0b2341;
  margin-bottom: 50px;
  line-height: 1.2;
}

.content h2 {
  font-size: 30px;
  color: #0b2341;
  margin-top: 50px;
  margin-bottom: 20px;
}

.content p {
  font-size: 18px;
  line-height: 1.9;
  color: #444444;
  margin-bottom: 22px;
}

.content a {
  color: #0b2341;
  text-decoration: none;
  font-weight: 600;
}

.content a:hover {
  text-decoration: underline;
}

.content ul {
  margin-left: 24px;
  margin-bottom: 24px;
}

.content li {
  margin-bottom: 12px;
  color: #444444;
  line-height: 1.8;
}

.stand {
  margin-top: 60px;
  font-size: 16px;
  color: #888888;
  border-top: 1px solid #e5e5e5;
  padding-top: 25px;
}

/* =========================
   TABLET / IPAD
========================= */

@media (min-width: 701px) and (max-width: 1024px) {

  html {
    scroll-padding-top: 0;
  }

  .header {
  position: relative;
  top: unset;

  height: auto;
  min-height: 135px;
  padding: 22px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  overflow: visible;
  }

  .logo img {
    width: 120px;
    padding: 7px;
    border-radius: 14px;
  }

  .logo {
    margin-left: 12px;
  }

  .header-center {
    position: static;
    transform: none;

    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-center img {
    width: 48px;
    height: 48px;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .nav a {
    font-size: 13px;
  }

  .contact-btn {
    padding: 10px 16px;
  }

  .container {
    max-width: 920px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    min-height: 720px;
    background-position: center center;
  }

  .hero-content {
    max-width: 760px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .about-section {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-image {
    flex: none;
  }

  .about-image img {
    width: 420px;
    height: 560px;
  }

  .about-content {
    max-width: 760px;
  }

  .about-content::before {
    top: 70%;
    left: 75%;
    width: 480px;
    height: 480px;
  }

  .services .container {
    max-width: 920px;
    padding-left: 32px;
    padding-right: 32px;
  }

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

  .service-card img {
    height: 240px;
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .header {
    position: relative;
    top: unset;
  }

  html {
    scroll-padding-top: 235px;
  }

  .container {
    padding: 0 20px;
  }

  .header {
    height: auto;
    padding: 16px 18px 20px;
    gap: 14px;

    flex-direction: column;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .logo img {
    width: 145px;
    padding: 8px;
    border-radius: 14px;
  }

  .header-center {
    position: static;
    transform: none;

    gap: 12px;
    order: 2;
  }

  .header-center img {
    width: 48px;
    height: 48px;
  }

  .nav {
    order: 3;
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 10px 18px;
  }

  .nav a {
    font-size: 14px;
    white-space: nowrap;
  }

  .nav .contact-btn {
    grid-column: 1 / -1;
    justify-self: center;

    margin-top: 6px;
    padding: 12px 28px;

    font-size: 15px;
  }

  .hero {
    min-height: calc(100vh - 235px);
    background-position: center top;
    align-items: flex-start;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.30),
      rgba(0, 0, 0, 0.70)
    );
  }

  .hero-content {
    padding: 95px 30px 60px;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.12;
    margin-bottom: 24px;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    margin-bottom: 42px;
  }

  .section-title h2,
  .about-content h2 {
    font-size: 34px;
    line-height: 1.15;
  }

  .section-title p {
    font-size: 16px;
  }

  .about-section {
    flex-direction: column;
    gap: 34px;
  }

  .about-image {
    flex: none;
  }

  .about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .about-content::before {
    top: 70%;
    left: 70%;
    width: 420px;
    height: 420px;
  }

  .about-content p,
  .about-content li {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    border-radius: 12px;
  }

  .service-card img {
    height: 210px;
  }

  .service-content {
    padding: 24px;
  }

  .faq-box h3 {
    font-size: 22px;
  }

  .faq-box p {
    font-size: 16px;
  }

  #faq::before,
  #faq::after {
    width: 360px;
    height: 360px;
  }

  .contact-box p {
    font-size: 17px;
  }

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

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .content {
    padding: 70px 24px;
  }

  .content h1 {
    font-size: 38px;
  }

  .content h2 {
    font-size: 26px;
  }

  .content p,
  .content li {
    font-size: 17px;
  }
}
