/* ===================================
   KFO Roloff – Stylesheet
   =================================== */

/* --- Back Button ---------------------------------------------------- */
.back-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700;
  color: #438136;
  text-decoration: none;
  padding: 5px 10px 5px 6px;
  border-radius: 20px;
  border: 1px solid rgba(67,129,54,0.25);
  background: rgba(67,129,54,0.05);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.back-btn:hover { background: rgba(67,129,54,0.12); border-color: rgba(67,129,54,0.5); transform: translateX(-2px); }

/* --- Reset & Base ---------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: #4d4d4d;
  background: #fafafa;
  line-height: 1.7;
}

a {
  color: #438136;
  text-decoration: none;
}
a:hover {
  color: #084906;
}

/* --- Layout ---------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Reusable -------------------------------------------------------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #438136;
  text-align: center;
  margin-bottom: 12px;
}
.section-title.light {
  color: #fff;
}

.divider {
  width: 60px;
  height: 4px;
  background: #438136;
  border-radius: 2px;
  margin: 0 auto 32px;
}
.divider.light {
  background: rgba(255,255,255,0.7);
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #438136;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 16px;
}
.btn-primary:hover {
  background: #084906;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Header ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #f3f7f2;
  border-bottom: 1px solid #e8f1e4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-title {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-size: 1.5rem;
  color: #438136;
  font-weight: 700;
}
.logo-text strong {
  color: #084906;
}
.tagline {
  font-size: 0.75rem;
  color: #7ba8bc;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #4d4d4d;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #438136;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #438136;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px;
  background: #f3f7f2;
  border-top: 1px solid #e8f1e4;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid #e8f1e4;
  color: #4d4d4d;
}

/* --- Hero Slider ----------------------------------------------------- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 69px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active {
  opacity: 1;
}

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

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  color: #fff;
  max-width: 700px;
}
.slide-content.center {
  align-items: center;
  text-align: center;
  max-width: 100%;
}
.slide-content h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-bottom: 12px;
}
.slide-content h2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  margin-bottom: 24px;
}

.btn-hero {
  display: inline-block;
  padding: 14px 32px;
  background: #438136;
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.slide-content.center .btn-hero {
  align-self: center;
}
.btn-hero:hover {
  background: #084906;
  color: #fff;
  transform: translateY(-2px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  line-height: 1;
}
.slider-btn:hover {
  background: rgba(255,255,255,0.4);
}
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* --- Intro ----------------------------------------------------------- */
.intro-section {
  padding: 80px 0;
  background: #fff;
}
.intro-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  text-align: center;
  color: #555;
}

/* --- Leistungen ------------------------------------------------------ */
.leistungen-section {
  padding: 80px 0;
  background: #438136;
}
.leistungen-section .section-title,
.leistungen-section .intro-text {
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* --- Praxis Info ----------------------------------------------------- */
.praxis-section {
  padding: 80px 0;
  background: #f3f7f2;
}

.praxis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.praxis-text .section-title { text-align: left; }
.praxis-text .divider { margin-left: 0; }
.praxis-text p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.praxis-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.value-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.value-item strong {
  display: block;
  font-weight: 700;
  color: #438136;
  margin-bottom: 2px;
}
.value-item p {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
}

/* --- Awards ---------------------------------------------------------- */
.awards-section {
  padding: 80px 0;
  background: #7ba8bc;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.award-card {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.award-card:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}
.award-img {
  max-width: 100px;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1);
}
.award-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 3px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 auto 20px;
  color: #fff;
}
.award-badge.barrier {
  font-size: 2rem;
}
.award-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.award-card p {
  font-size: 0.92rem;
  opacity: 0.92;
  line-height: 1.6;
}

/* --- Contact --------------------------------------------------------- */
.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  color: #438136;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item a {
  font-size: 1rem;
  color: #4d4d4d;
}
.contact-item a:hover {
  color: #438136;
}

.contact-form {
  background: #f3f7f2;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #438136;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #c8dfc4;
  border-radius: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.97rem;
  color: #4d4d4d;
  background: #fff;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #438136;
}
.contact-form .btn-primary {
  margin-top: 4px;
}

.form-success {
  display: none;
  color: #438136;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-success.visible {
  display: block;
}

/* --- Footer ---------------------------------------------------------- */
.site-footer {
  background: #333;
  color: #aaa;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a {
  color: #7ba8bc;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer p {
  font-size: 0.88rem;
}

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  .hero-slider { margin-top: 65px; }

  .praxis-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .praxis-text .section-title { text-align: center; }
  .praxis-text .divider { margin: 0 auto 32px; }

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

@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .contact-form { padding: 20px; }
  .slider-btn { width: 40px; height: 40px; font-size: 1.5rem; }
}
