:root {
  /* NEUE PALETTE basierend auf dem Logo */
  --bg: #f8fafc;           
  --text: #1e293b;         
  --accent: #1f6cab;       
  --accent-dark: #164e7d;  
  --green: #00b88d;        
  --white: #ffffff;
  
  --radius: 0.5rem;        
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.logo img {
  height: 50px;
  width: auto;
}

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

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.main-nav a:hover {
  color: var(--accent);
}

.btn-header {
  background: var(--green);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 184, 141, 0.25);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 100px;
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(to bottom, var(--white), var(--bg));
  overflow: hidden; /* Verhindert Scrollbars bei großen Bildern */
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--accent);
}

h1 span {
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #64748b;
  max-width: 540px;
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-img-container img {
  border-radius: 1rem;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

/* SECTIONS GENERAL */
h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-intro p {
  font-size: 1.1rem;
  color: #64748b;
}

/* USPs / BADGES */
.badges {
  margin: 0;
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(31, 108, 171, 0.1); 
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge h4 {
  margin: 0;
  font-size: 1rem;
}

/* SERVICES */
.services {
  padding: 5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--green);
}

/* UPDATE FÜR DIE DUMMY BILDER */
.service-icon {
  width: 100%;              /* Volle Breite statt 60px */
  height: 180px;            /* Fixe Höhe für Einheitlichkeit */
  object-fit: contain;      /* Damit die Illustrationen nicht verzerrt werden */
  object-position: center;
  margin-bottom: 1.5rem;
  background: #f8fafc;      /* Leichter Hintergrund falls Bild transparent */
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.service-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* PROCESS */
.process {
  padding: 5rem 0;
  background: var(--accent);
  color: white;
}

.process h2 {
  color: white;
}

.process .lead {
  color: rgba(255,255,255,0.8);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps li {
  background: rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  opacity: 1;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.steps h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

/* CTA / CONTACT */
.cta-section {
  padding: 5rem 0;
}

.contact-box {
  background: var(--white);
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
  border-top: 5px solid var(--green);
}

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

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 108, 171, 0.1);
}

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

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.site-footer h4 {
  color: white;
  margin-bottom: 1.2rem;
}

.site-footer a {
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* MOBILE NAV */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    align-items: flex-start;
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-img-container {
    margin-top: 2rem;
  }
  
  .lead {
    margin-left: auto;
    margin-right: auto;
  }
}