:root {
  --primary: #276ef1;
  --background: #f6f8fa;
  --card-bg: #fff;
  --text: #23272f;
  --radius: 1.2rem;
  --shadow: 0 8px 32px rgba(0,0,0,0.07);
  --gap: 2rem;
}

html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  scroll-behavior: smooth;
}

header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(39,110,241,0.07);
  padding: 1rem 0;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
nav a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}
nav a:hover {
  color: #163779;
}

.hero {
  background: linear-gradient(115deg, #e4ecfa 0%, #f6f8fa 100%);
  padding: 3.5rem 0 2.5rem 0;
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap);
}
.hero-content > div {
  flex: 1 1 350px;
}
.hero-img {
  width: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 18px rgba(39,110,241,0.09);
  transition: background 0.18s;
}
.cta-btn:hover {
  background: #163779;
}

.leistungen {
  padding: 3rem 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.icon.large {
  font-size: 2.6rem;
  margin-bottom: 0.7rem;
}

.vorteile {
  background: #e4ecfa;
  padding: 3rem 0;
}
.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: center;
}
.grid-2 > div, .grid-2 > img {
  flex: 1 1 350px;
}
.vorteile-img {
  width: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.vorteile ul {
  list-style: none;
  padding: 0;
}
.vorteile li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.kontakt {
  padding: 3rem 0;
}
.kontakt-form {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 0 auto;
  padding: 2.2rem;
}
.kontakt-form h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.kontakt-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kontakt-form input,
.kontakt-form textarea {
  padding: 0.9rem;
  border: 1px solid #e0e5ec;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
}
.kontakt-form textarea {
  resize: vertical;
  min-height: 90px;
}
.kontakt-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.kontakt-form button:hover {
  background: #163779;
}

footer {
  background: #fff;
  padding: 1.3rem 0;
  text-align: center;
  font-size: 0.97rem;
  color: #8a94a6;
  box-shadow: 0 -2px 12px rgba(39,110,241,0.04);
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content, .grid-2 {
    flex-direction: column;
    gap: 1.3rem;
    text-align: center;
  }
  .hero-img, .vorteile-img {
    width: 90%;
    max-width: 340px;
    margin: 0 auto;
  }
  .container {
    padding: 0 0.6rem;
  }
  
}
@media (max-width: 600px) {
  .card {
    padding: 1rem;
  }
  .kontakt-form {
    padding: 1rem;
  }
}

.back-link {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.75rem 1.5rem;
  background: #e53935;
  color: #fff;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.16s;
}
.back-link:hover {
  background: #ab2020;
}

.hero-slider {
  background: linear-gradient(115deg, #ffe5e5 0%, #f8fafc 100%);
  position: relative;
  padding: 3.5rem 0 2.5rem 0;
  overflow: hidden;
}
.slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  min-height: 270px;
}
.slide {
  display: none;
  flex: 1 1 100%;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1rem;
  animation: fadeIn 0.5s;
}
.slide.active {
  display: flex;
}
.slide > div {
  flex: 1 1 350px;
}
.hero-img {
  width: 340px;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}
h1 {
  color: #e53935;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.2rem;
  background: #e53935;
  color: #fff;
  border-radius: 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 18px rgba(229,57,53,0.09);
  transition: background 0.18s;
}
.cta-btn:hover {
  background: #ab2020;
}
.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  pointer-events: none;
}
.slider-btn {
  pointer-events: all;
  background: rgba(229,57,53,0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: #ab2020;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.3rem;
}
.slider-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #e53935;
  cursor: pointer;
  transition: background 0.16s, border 0.16s;
}
.slider-dot.active {
  background: #e53935;
  border: 2px solid #ab2020;
}
@media (max-width: 900px) {
  .slider, .slide {
    flex-direction: column;
    gap: 1.3rem;
    text-align: center;
    min-height: 0;
  }
  .hero-img {
    width: 90%;
    max-width: 340px;
    margin: 0 auto;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

@media (max-width: 700px) {
  .vorteile, .vorteile * {
    text-align: center;
  }
}
