/* ===================================
   KFO Roloff – Neumorphism Stylesheet
   Lichtquelle: oben links
   Hintergrund: #dde3ea
   Schatten hell: #ffffff
   Schatten dunkel: #b8bec7
   =================================== */

/* --- Back Button ---------------------------------------------------- */
.back-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700;
  color: #5a8a6a;
  text-decoration: none;
  padding: 5px 10px 5px 6px;
  border-radius: 20px;
  background: #dde3ea;
  box-shadow: 3px 3px 6px #b8bec7, -3px -3px 6px #ffffff;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.2s;
}
.back-btn:hover { box-shadow: 2px 2px 4px #b8bec7, -2px -2px 4px #ffffff; transform: translateX(-2px); }

/* --- Variablen ------------------------------------------------------- */
:root {
  --bg:          #dde3ea;
  --bg-light:    #eaf0f7;
  --shadow-l:    #ffffff;
  --shadow-d:    #b8bec7;
  --primary:     #4a8f3f;
  --primary-dk:  #2d5e25;
  --accent:      #6ea8c0;
  --text:        #4a5568;
  --text-light:  #718096;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  /* raised shadow */
  --neu-raised:  6px 6px 14px var(--shadow-d), -6px -6px 14px var(--shadow-l);
  /* inset shadow */
  --neu-inset:   inset 4px 4px 10px var(--shadow-d), inset -4px -4px 10px var(--shadow-l);
  /* pressed (active) */
  --neu-pressed: inset 3px 3px 8px var(--shadow-d), inset -3px -3px 8px var(--shadow-l);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--primary-dk); }

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

/* --- Neumorphism Utilities ------------------------------------------ */
.neu-raised {
  background: var(--bg);
  box-shadow: var(--neu-raised);
  border-radius: var(--radius);
}
.neu-raised:hover {
  box-shadow: 8px 8px 18px var(--shadow-d), -8px -8px 18px var(--shadow-l);
  transition: box-shadow 0.25s ease;
}

.neu-inset {
  background: var(--bg);
  box-shadow: var(--neu-inset);
  border-radius: var(--radius-sm);
}

.neu-panel {
  background: var(--bg);
  box-shadow: var(--neu-raised);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

/* --- Reusable -------------------------------------------------------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
}
.section-title.left { text-align: left; }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 36px;
  box-shadow: 2px 2px 6px var(--shadow-d), -2px -2px 6px var(--shadow-l);
}
.divider.left { margin-left: 0; }

.btn-primary {
  display: inline-block;
  padding: 13px 30px;
  background: var(--bg);
  color: var(--primary);
  border: none;
  border-radius: 30px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--neu-raised);
  transition: box-shadow 0.2s, transform 0.15s, color 0.2s;
  margin-top: 20px;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  color: var(--primary-dk);
  box-shadow: 8px 8px 18px var(--shadow-d), -8px -8px 18px var(--shadow-l);
  transform: translateY(-2px);
}
.btn-primary:active {
  box-shadow: var(--neu-pressed);
  transform: translateY(0);
}

/* --- Header ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 4px 16px var(--shadow-d), 0 -2px 8px var(--shadow-l);
}

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

.site-title { display: flex; flex-direction: column; }

.logo-text {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo-text strong { color: var(--primary-dk); }

.tagline {
  font-size: 0.73rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 8px;
}
.main-nav a {
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  box-shadow: var(--neu-raised);
  transition: box-shadow 0.2s, color 0.2s;
}
.main-nav a:hover {
  color: var(--primary);
  box-shadow: 4px 4px 10px var(--shadow-d), -4px -4px 10px var(--shadow-l);
}
.main-nav a:active {
  box-shadow: var(--neu-pressed);
}

.nav-toggle {
  display: none;
  background: var(--bg);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--neu-raised);
  transition: box-shadow 0.2s;
}
.nav-toggle:active { box-shadow: var(--neu-pressed); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  background: var(--bg);
  gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--neu-raised);
}
.mobile-nav a:hover { color: var(--primary); }

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

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}
.slide-content.center {
  align-items: center;
  text-align: center;
}

/* glassmorphic hero card inside slider */
.hero-card {
  background: rgba(221, 227, 234, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}

.hero-card h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-card h2 {
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.btn-hero {
  display: inline-block;
  padding: 13px 30px;
  background: rgba(221,227,234,0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.25), -2px -2px 8px rgba(255,255,255,0.15);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-hero:hover {
  background: rgba(74,143,63,0.7);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 6px 6px 18px rgba(0,0,0,0.3), -2px -2px 8px rgba(255,255,255,0.15);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg);
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--neu-raised);
  transition: box-shadow 0.2s, transform 0.15s;
  z-index: 10;
  line-height: 1;
}
.slider-btn:hover {
  box-shadow: 8px 8px 18px var(--shadow-d), -8px -8px 18px var(--shadow-l);
  transform: translateY(calc(-50% - 2px));
}
.slider-btn:active { box-shadow: var(--neu-pressed); transform: translateY(-50%); }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  opacity: 0.5;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3), -1px -1px 4px rgba(255,255,255,0.2);
  transition: opacity 0.2s, transform 0.2s;
}
.dot.active {
  opacity: 1;
  transform: scale(1.3);
  background: var(--bg);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

/* --- Intro ----------------------------------------------------------- */
.intro-section {
  padding: 80px 0;
  background: var(--bg);
}

.intro-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
  text-align: center;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Leistungen ------------------------------------------------------ */
.leistungen-section {
  padding: 80px 0;
  background: var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
}

.card {
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.2s;
}
.card:hover { transform: translateY(-4px); }

.card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.card p {
  font-size: 0.94rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- Praxis Info ----------------------------------------------------- */
.praxis-section {
  padding: 80px 0;
  background: var(--bg);
}

.praxis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.praxis-text {
  padding: 40px 36px;
}
.praxis-text p {
  margin-bottom: 14px;
  font-size: 0.97rem;
  color: var(--text-light);
}
.praxis-text strong { color: var(--text); }

.praxis-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.value-item:hover { transform: translateX(4px); }

.value-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  font-size: 0.97rem;
}
.value-item p {
  font-size: 0.86rem;
  color: var(--text-light);
  margin: 0;
}

/* --- Awards ---------------------------------------------------------- */
.awards-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.awards-section .section-title { color: var(--primary); }

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

.award-card {
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.2s;
}
.award-card:hover { transform: translateY(-4px); }

.award-img-wrap,
.award-badge-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.award-img {
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
}

.award-badge {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.award-badge.barrier { font-size: 2rem; }

.award-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.award-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- Contact --------------------------------------------------------- */
.contact-section {
  padding: 80px 0;
  background: var(--bg);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.contact-item:hover { transform: translateX(4px); }

.contact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 0.92rem;
}
.contact-item a {
  font-size: 0.97rem;
  color: var(--text);
}
.contact-item a:hover { color: var(--primary); }

.contact-form {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.neu-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.97rem;
  color: var(--text);
  box-shadow: var(--neu-inset);
  outline: none;
  transition: box-shadow 0.2s;
  resize: vertical;
}
.neu-input::placeholder { color: var(--text-light); }
.neu-input:focus {
  box-shadow: inset 5px 5px 12px var(--shadow-d), inset -5px -5px 12px var(--shadow-l),
              0 0 0 2px rgba(74,143,63,0.25);
}

.form-success {
  display: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-inset);
}
.form-success.visible { display: block; }

/* --- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(184,190,199,0.4);
  padding: 32px 0;
  box-shadow: 0 -4px 14px var(--shadow-d), 0 -1px 4px var(--shadow-l);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer p { font-size: 0.88rem; color: var(--text-light); }
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--primary); }

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

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

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

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

  .neu-panel { padding: 32px 24px; }
}

@media (max-width: 520px) {
  .section-title { font-size: 1.5rem; }
  .hero-card { padding: 24px 20px; }
  .contact-form { padding: 24px 20px; }
  .slider-btn { width: 42px; height: 42px; font-size: 1.4rem; }
}

/* --- Scroll Animation ----------------------------------------------- */
.anim-el {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-el.visible {
  opacity: 1;
  transform: translateY(0);
}
