:root{
  --cream:#F8F5EC;
  --olive:#646E4B;
  --dark-red:#611C0E;
  --text:#3B322B;
  --white:#ffffff;
  --nav-h:96px;
}
@media (max-width:768px){ 
  :root{ --nav-h:80px; } 
}

html{ 
  scroll-behavior:smooth; 
}

*{ 
  box-sizing:border-box; 
}

html,body{
  margin:0;
  font-family:'Open Sans',sans-serif;
  color:var(--text);
  background:var(--cream);
  line-height:1.6;
}

/* NAVIGATION */
nav.topbar{
  position:fixed; 
  top:0; 
  left:0; 
  width:100%; 
  height:var(--nav-h);
  background:var(--white);
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  z-index:1000;
}

.nav-container{
  height:100%;
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  max-width:1200px; 
  margin:0 auto; 
  padding:0 24px;
}

.nav-left img{ 
  height:64px; 
  width:auto; 
  transition:transform .3s ease; 
}

.nav-left img:hover{ 
  transform:scale(1.05); 
}

@media (max-width:768px){ 
  .nav-left img{ height:50px; } 
}

.nav-right{ 
  display:flex; 
  gap:16px; 
  align-items:center; 
  font-weight:600; 
  font-family:'Montserrat',sans-serif; 
}

.lang{ 
  color:var(--text); 
  cursor:pointer; 
  transition:color .2s ease; 
}

.lang.active, 
.lang:hover{ 
  color:var(--olive); 
  text-decoration:underline; 
}

.divider{ 
  color:#bbb; 
}

body{ 
  padding-top: var(--nav-h); 
}

/* HERO SECTION - Fullscreen */
header.hero{ 
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align:center; 
  padding:80px 20px;
  background: linear-gradient(135deg, var(--cream) 0%, #F0EBE0 100%);
  position: relative;
  overflow: hidden;
}

header.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="%23646E4B" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

h1{
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red);
  font-size:clamp(40px,6vw,72px); 
  font-weight:700; 
  margin:0 0 16px 0;
  line-height: 1.2;
}

h2.subtitle{ 
  font-size:clamp(18px,3vw,26px); 
  color:var(--text); 
  margin:0 0 40px 0; 
  font-weight:400;
  line-height: 1.4;
}

.cta-button{
  display:inline-block; 
  margin-top:20px; 
  background:var(--olive); 
  color:var(--white);
  font-weight:700; 
  font-family:'Montserrat',sans-serif; 
  padding:16px 40px;
  border-radius:30px; 
  transition:background .3s ease, transform .3s ease;
  text-decoration:none; 
  cursor:pointer;
  border: none;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(100,110,75,0.2);
}

.cta-button:hover{ 
  background:#555E3D; 
  transform:translateY(-2px); 
  box-shadow: 0 6px 20px rgba(100,110,75,0.3);
}

.subtext{
  margin-top:16px;
  font-size:14px;
  line-height:1.4;
  color:#6B665F;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--olive);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateX(-50%) translateY(0); 
  }
  40% { 
    transform: translateX(-50%) translateY(-10px); 
  }
  60% { 
    transform: translateX(-50%) translateY(-5px); 
  }
}

/* Section scroll margin */
#mission, 
#vorteile, 
#preise, 
#anmeldung{ 
  scroll-margin-top: calc(var(--nav-h) + 20px); 
}

/* MISSION SECTION */
section#mission{ 
  padding:100px 20px; 
  background:var(--white); 
  text-align:center;
}

section#mission h2{
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red); 
  font-size:clamp(28px,4vw,42px); 
  margin:0 0 40px 0;
  font-weight: 700;
}

section#mission p{ 
  max-width:800px; 
  margin:0 auto 24px; 
  line-height:1.8; 
  color:var(--text); 
  font-size:18px;
}

/* VORTEILE SECTION */
section#vorteile{ 
  padding:100px 20px; 
  text-align:center;
  background:var(--cream);
}

section#vorteile h2{ 
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red); 
  font-size:clamp(28px,4vw,42px); 
  margin:0 0 60px 0;
  font-weight: 700;
}

.cards{
  display:grid; 
  grid-template-columns:repeat(4, 1fr);
  gap:30px; 
  justify-content:center; 
  max-width:1200px; 
  margin:0 auto;
}

@media (max-width:1024px){
  .cards{
    grid-template-columns:repeat(2, 1fr);
  }
}

.card{
  background:var(--white); 
  border-radius:16px; 
  padding:40px 30px;
  box-shadow:0 4px 12px rgba(0,0,0,0.06); 
  transition:transform .3s ease, box-shadow .3s ease;
}

.card:hover{ 
  transform:translateY(-8px); 
  box-shadow:0 8px 24px rgba(0,0,0,0.12); 
}

.card .icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card h3{ 
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red); 
  font-size:22px; 
  margin:0 0 16px 0;
  font-weight: 700;
}

.card p{ 
  font-size:16px; 
  color:var(--text);
  line-height: 1.7;
  margin: 0;
}

/* PREISE SECTION */
section#preise{ 
  padding:100px 20px; 
  background:var(--white); 
  text-align:center; 
}

section#preise h2{
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red); 
  font-size:clamp(28px,4vw,42px); 
  margin:0 0 20px 0;
  font-weight: 700;
}

section#preise p.lead{ 
  color:var(--text); 
  margin:0 auto 50px; 
  max-width:800px;
  font-size: 18px;
}

.price-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  padding: 30px;
  background: var(--cream);
  border-radius: 16px;
  border-left: 4px solid var(--olive);
  text-align: left;
}

.price-intro h3 {
  font-family:'Montserrat',sans-serif;
  color: var(--dark-red);
  font-size: 20px;
  margin: 0 0 12px 0;
}

.price-intro p {
  margin: 0 0 12px 0;
  color: var(--text);
  line-height: 1.7;
}

.price-intro p:last-child {
  margin-bottom: 0;
}

.price-grid{
  display:grid; 
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px; 
  max-width:1200px; 
  margin:0 auto;
}

.price-card{
  background:var(--cream); 
  border-radius:16px; 
  padding:35px 25px;
  box-shadow:0 4px 12px rgba(0,0,0,.07);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.price-card:hover{
  transform: translateY(-6px);
  box-shadow:0 12px 32px rgba(0,0,0,.14);
  border-color: var(--olive);
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--olive);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(100,110,75,0.3);
  z-index: 1;
}

.price-badge.best-value {
  background: var(--dark-red);
}

.price-card h3{ 
  margin:0 0 12px; 
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red); 
  font-size:22px;
  font-weight: 700;
}

.price{ 
  font-size:36px; 
  font-weight:700; 
  color:var(--olive); 
  margin:12px 0 6px;
  font-family: 'Montserrat', sans-serif;
}

.per{ 
  font-size:14px; 
  color:#6B665F; 
  margin-bottom: 20px;
  display: block;
}

.price-features {
  text-align: left;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(100,110,75,0.2);
  padding-left: 0;
}

.price-features li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-left: 24px;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: bold;
}

/* ANMELDUNG SECTION */
section#anmeldung{ 
  padding:100px 20px; 
  background:var(--cream); 
  text-align:center;
  position: relative;
}

section#anmeldung::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--white), transparent);
  pointer-events: none;
}

section#anmeldung h2{ 
  font-family:'Montserrat',sans-serif; 
  color:var(--dark-red); 
  font-size:clamp(28px,4vw,42px); 
  margin:0 0 12px 0;
  font-weight: 700;
}

.mini-note{ 
  margin:0 0 40px 0; 
  font-size:16px; 
  color:#6B665F; 
}

.vermittler-hinweis {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 20px 30px;
  background: rgba(100,110,75,0.05);
  border-radius: 12px;
  border-left: 4px solid var(--olive);
}

.vermittler-hinweis p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
}

/* Multi-step form */
.form-container {
  background:var(--white); 
  border-radius:16px; 
  padding:50px 40px;
  max-width:700px; 
  margin:0 auto;
  box-shadow:0 4px 16px rgba(0,0,0,0.08);
  position: relative;
}

.form-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  transition: all .3s ease;
}

.step.active .step-number {
  background: var(--olive);
  color: white;
}

.step.completed .step-number {
  background: var(--dark-red);
  color: white;
}

.step-label {
  font-size: 13px;
  color: #999;
  font-weight: 600;
  text-align: center;
}

.step.active .step-label {
  color: var(--olive);
}

.form-step {
  display: none;
  text-align: left;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

label{ 
  display:block; 
  font-weight:600; 
  margin-top:24px; 
  color:var(--dark-red);
  font-size: 15px;
}

label:first-child { 
  margin-top: 0; 
}

input,
select,
textarea{
  width:100%; 
  padding:14px; 
  border:2px solid #ddd; 
  border-radius:10px; 
  margin-top:8px; 
  font-family:'Open Sans',sans-serif;
  font-size: 15px;
  transition: border-color .2s ease;
}

input:focus, 
select:focus, 
textarea:focus {
  outline: none;
  border-color: var(--olive);
}

.form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  flex: 1;
}

.btn-primary {
  background: var(--olive);
  color: white;
}

.btn-primary:hover {
  background: #555E3D;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e0e0e0;
  color: var(--text);
}

.btn-secondary:hover {
  background: #d0d0d0;
}

label.required::after{
  content:" *";
  color:#c0392b;
  font-weight:700;
}

.agb-wrapper{
  max-width:700px;
  margin:30px auto 0;
  font-size:14px;
  color:var(--text);
  padding:20px 30px;
  background:var(--white);
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.agb-label{
  display:flex;
  align-items:flex-start;
  gap:12px;
  cursor:pointer;
  line-height:1.6;
}

.agb-label input[type="checkbox"]{
  flex:0 0 auto;
  margin-top:3px;
  width:20px;
  height:20px;
  cursor:pointer;
}

.agb-text{
  flex:1;
}

.agb-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

.agb-links a{
  font-size:13px;
  color:var(--olive);
  text-decoration:underline;
  font-weight:600;
  transition:color .2s ease;
}

.agb-links a:hover{
  color:var(--dark-red);
}

/* FOOTER */
footer{ 
  text-align:center; 
  padding:50px 20px; 
  font-size:14px; 
  background:var(--white); 
  color:var(--text); 
}

.social{
  margin-top:20px; 
  display:flex; 
  gap:18px; 
  justify-content:center; 
  flex-wrap:wrap;
  font-weight:600; 
  align-items:center;
}

.social a{
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  color:var(--olive);
  padding:10px 16px; 
  border-radius:999px; 
  background:var(--cream); 
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
  text-decoration:none;
  transition: all .2s ease;
}

.social a:hover {
  transform: translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.social img.icon{ 
  width:20px; 
  height:20px; 
  display:block; 
}

/* RESPONSIVE */
@media (max-width:768px){
  header.hero{ 
    padding:60px 16px; 
    min-height: calc(100vh - var(--nav-h)); 
  }
  
  h1{ 
    font-size:clamp(32px,8vw,48px); 
  }
  
  h2.subtitle{ 
    font-size:clamp(16px,4vw,20px); 
  }
  
  .cards{ 
    grid-template-columns:1fr; 
    gap: 20px; 
  }
  
  .price-grid{ 
    grid-template-columns:1fr; 
    gap: 20px; 
  }
  
  .form-container{ 
    padding:30px 24px; 
  }
  
  section#mission, 
  section#vorteile, 
  section#preise, 
  section#anmeldung{ 
    padding:70px 16px; 
  }
  
  .step-label { 
    font-size: 11px; 
  }
  
  .form-steps { 
    margin-bottom: 30px; 
  }
  
  .price-intro {
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}