/* DSchenk GmbH - Main Stylesheet */

:root {
  --blue: #0056d6;
  --blue-dark: #0040a8;
  --blue-light: #1a6de8;
  --blue-pale: #e8f0fd;
  --white: #ffffff;
  --off-white: #f4f7ff;
  --dark: #0a0f1e;
  --gray: #5a6480;
  --light-gray: #d0d9f0;
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* NAVIGATION */
nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 100;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 1.2rem 5vw;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,86,214,0.1);
  transition: box-shadow 0.3s;
}

nav.scrolled { 
  box-shadow: 0 4px 32px rgba(0,86,214,0.12); 
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--blue);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo span { 
  color: var(--dark); 
}

.nav-links { 
  display: flex; 
  gap: 2.5rem; 
  list-style: none; 
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { 
  color: var(--blue); 
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover { 
  background: var(--blue-dark) !important; 
  transform: translateY(-1px); 
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex; 
  align-items: center;
  padding: 8rem 5vw 5rem;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute; 
  inset: 0; 
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,86,214,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 100% 80%, rgba(0,64,168,0.3) 0%, transparent 60%),
    var(--dark);
}

.hero-grid {
  position: absolute; 
  inset: 0; 
  z-index: 0;
  background-image: linear-gradient(rgba(0,86,214,0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,86,214,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { 
  position: relative; 
  z-index: 1; 
  max-width: 780px; 
}

.hero-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem;
  background: rgba(0,86,214,0.2);
  border: 1px solid rgba(0,86,214,0.4);
  color: #80aaff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; 
  height: 6px;
  background: #4d8fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse { 
  0%,100%{opacity:1;transform:scale(1)} 
  50%{opacity:0.5;transform:scale(0.8)} 
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

h1 em { 
  color: #4d8fff; 
  font-style: normal; 
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--blue);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,86,214,0.5);
}

.btn-primary:hover { 
  background: var(--blue-light); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 32px rgba(0,86,214,0.6); 
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover { 
  border-color: rgba(255,255,255,0.5); 
  background: rgba(255,255,255,0.05); 
}

.hero-stats {
  position: absolute; 
  bottom: 3rem; 
  right: 5vw; 
  z-index: 1;
  display: flex; 
  gap: 3rem;
  animation: fadeUp 0.6s 0.5s ease both;
}

.stat-item { 
  text-align: right; 
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-label { 
  font-size: 0.78rem; 
  color: rgba(255,255,255,0.45); 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  margin-top: 0.3rem; 
}

@keyframes fadeUp { 
  from { opacity:0; transform:translateY(24px); } 
  to { opacity:1; transform:translateY(0); } 
}

/* SECTION STYLES */
section { 
  padding: 7rem 5vw; 
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 520px;
  font-weight: 300;
}

/* SERVICES SECTION */
.services { 
  background: var(--off-white); 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0,86,214,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0); 
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 20px 60px rgba(0,86,214,0.12); 
}

.service-card:hover::before { 
  transform: scaleX(1); 
}

.service-icon {
  width: 52px; 
  height: 52px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--dark);
}

.service-card p { 
  color: var(--gray); 
  font-size: 0.92rem; 
  line-height: 1.7; 
  font-weight: 300; 
}

/* WHY US SECTION */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 768px) { 
  .why { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
  } 
}

.why-visual {
  position: relative;
  height: 480px;
}

.why-card-big {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0;
  background: var(--blue);
  border-radius: 24px;
  height: 300px;
  padding: 2.5rem;
  color: white;
  overflow: hidden;
}

.why-card-big::after {
  content: '';
  position: absolute;
  bottom: -40px; 
  right: -40px;
  width: 180px; 
  height: 180px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.why-card-big h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.why-card-big p { 
  font-size: 0.92rem; 
  opacity: 0.8; 
  line-height: 1.7; 
  font-weight: 300; 
  max-width: 320px; 
}

.why-card-small {
  position: absolute; 
  bottom: 0; 
  right: 0;
  background: var(--dark);
  border-radius: 20px;
  padding: 1.8rem;
  color: white;
  width: 260px;
}

.why-card-small .num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #4d8fff;
  line-height: 1;
}

.why-card-small p { 
  font-size: 0.85rem; 
  color: rgba(255,255,255,0.6); 
  margin-top: 0.4rem; 
  font-weight: 300; 
}

.why-list { 
  list-style: none; 
  margin-top: 2.5rem; 
  display: flex; 
  flex-direction: column; 
  gap: 1.2rem; 
}

.why-list li {
  display: flex; 
  align-items: flex-start; 
  gap: 1rem;
  font-size: 0.95rem; 
  color: var(--gray); 
  line-height: 1.6; 
  font-weight: 300;
}

.why-list li::before {
  content: '';
  width: 20px; 
  height: 20px; 
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 12px; 
  background-repeat: no-repeat; 
  background-position: center;
}

/* PROCESS SECTION */
.process { 
  background: var(--dark); 
}

.process .section-title { 
  color: white; 
}

.process .section-label { 
  color: #4d8fff; 
}

.process .section-sub { 
  color: rgba(255,255,255,0.55); 
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 4rem;
  background: rgba(255,255,255,0.06);
  border-radius: 24px;
  overflow: hidden;
}

.process-step {
  background: var(--dark);
  padding: 3rem 2rem;
  position: relative;
  transition: background 0.3s;
}

.process-step:hover { 
  background: rgba(0,86,214,0.15); 
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0,86,214,0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
}

.process-step p { 
  font-size: 0.88rem; 
  color: rgba(255,255,255,0.5); 
  line-height: 1.7; 
  font-weight: 300; 
}

/* CONTACT SECTION */
.contact-section {
  background: var(--blue);
  text-align: center;
  padding: 7rem 5vw;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute; 
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.contact-section > * { 
  position: relative; 
  z-index: 1; 
}

.contact-section .section-label { 
  color: rgba(255,255,255,0.6); 
}

.contact-section .section-title { 
  color: white; 
  margin: 0 auto 1rem; 
}

.contact-section .section-sub { 
  color: rgba(255,255,255,0.7); 
  margin: 0 auto 2.5rem; 
}

.contact-email {
  display: inline-block;
  background: white;
  color: var(--blue);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.contact-email:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 16px 48px rgba(0,0,0,0.3); 
}

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.4);
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
}

footer .logo { 
  font-size: 1.1rem; 
}

footer a { 
  color: rgba(255,255,255,0.4); 
  text-decoration: none; 
  transition: color 0.2s; 
}

footer a:hover { 
  color: white; 
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* SCROLL REVEAL ANIMATION */
.reveal { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: opacity 0.6s ease, transform 0.6s ease; 
}

.reveal.visible { 
  opacity: 1; 
  transform: none; 
}
