@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- FOPY DESIGN SYSTEM --- */
:root {
  --fopy-green: #6eb041;
  --fopy-dark: #222222;
  --fopy-light: #f8f9fa;
  --fopy-white: #ffffff;
  --fopy-text: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--fopy-text);
  background: var(--fopy-white);
}

a {
  color: var(--fopy-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- NAVIGATION --- */
.fopy-nav {
  background: var(--fopy-white);
  border-bottom: 3px solid var(--fopy-green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fopy-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.fopy-nav-inner .fopy-logo {
  order: 2;
}

.fopy-nav-links {
  order: 1;
}

.fopy-nav-toggle {
  order: 1;
}

.fopy-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fopy-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.fopy-logo span {
  color: var(--fopy-green);
}

.fopy-nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
}

.fopy-nav-links a {
  color: var(--fopy-dark);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.fopy-nav-links a:hover,
.fopy-nav-links a.active {
  background: var(--fopy-green);
  color: var(--fopy-white);
  text-decoration: none;
}

.fopy-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--fopy-dark);
  padding: 5px;
}

/* --- LAYOUT --- */
.fopy-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  color: var(--fopy-text);
}

.fopy-section {
  margin-bottom: 60px;
}

.fopy-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.fopy-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

/* --- TYPOGRAPHY --- */
.fopy-h1 {
  font-size: 2.5rem;
  color: var(--fopy-dark);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.fopy-h2 {
  font-size: 1.8rem;
  border-left: 6px solid var(--fopy-green);
  padding-left: 15px;
  margin-bottom: 20px;
  color: var(--fopy-dark);
  font-weight: 700;
}

.fopy-h3 {
  font-size: 1.05rem;
  color: var(--fopy-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.fopy-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.75;
}

/* --- SECTION LABEL --- */
.fopy-section-label {
  display: block;
  color: var(--fopy-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

/* --- HERO (legacy) --- */
.fopy-hero {
  background-color: var(--fopy-light);
  padding: 80px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 40px;
  border-bottom: 4px solid var(--fopy-green);
}

/* --- PAGE HERO (Unterseiten) --- */
.fopy-page-hero {
  background: var(--fopy-dark);
  border-bottom: 4px solid var(--fopy-green);
  padding: 55px 20px 48px;
}

.fopy-page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.fopy-page-hero .fopy-h1 {
  color: var(--fopy-white);
  margin-bottom: 8px;
}

.fopy-page-hero-sub {
  color: #999;
  font-size: 1.05rem;
  margin-top: 6px;
  max-width: 600px;
}

/* --- STATS STRIP --- */
.fopy-stats-strip {
  background: var(--fopy-green);
  padding: 30px 20px;
}

.fopy-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  text-align: center;
}

.fopy-stat {
  padding: 8px 10px;
}

.fopy-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--fopy-white);
  line-height: 1.1;
}

.fopy-stat-label {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  margin-top: 5px;
}

/* --- FEATURE STRIP (Warum FOPY, hellgrau) --- */
.fopy-feature-strip {
  background: var(--fopy-light);
  padding: 70px 20px;
}

.fopy-feature-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- CTA STRIP --- */
.fopy-cta-strip {
  background: var(--fopy-dark);
  padding: 80px 20px;
  text-align: center;
}

.fopy-cta-strip h2 {
  color: var(--fopy-white);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.fopy-cta-strip p {
  color: #999;
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.75;
}

.fopy-cta-phone {
  display: block;
  color: var(--fopy-green);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 20px;
  text-decoration: none;
  transition: color 0.2s;
}

.fopy-cta-phone:hover {
  color: var(--fopy-white);
  text-decoration: none;
}

/* --- CARD --- */
.fopy-card {
  background: var(--fopy-white);
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-top 0.25s;
  border-top: 4px solid transparent;
}

.fopy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-top: 4px solid var(--fopy-green);
}

/* --- BUTTON --- */
.fopy-btn {
  display: inline-block;
  background: var(--fopy-green);
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 20px;
  transition: background 0.25s, transform 0.2s;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.fopy-btn:hover {
  background: #5a9632;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.fopy-btn-outline {
  background: transparent;
  color: var(--fopy-white);
  border: 2px solid rgba(255,255,255,0.6);
}

.fopy-btn-outline:hover {
  background: var(--fopy-white);
  color: var(--fopy-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* --- LISTS --- */
.fopy-check-list {
  list-style: none;
  padding: 0;
}

.fopy-check-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
}

.fopy-check-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fopy-green);
  font-weight: 900;
  font-size: 1.2rem;
}

/* --- PROCESS STEPS --- */
.fopy-process-step {
  margin-bottom: 20px;
  padding: 20px;
  background: var(--fopy-light);
  border-left: 4px solid var(--fopy-green);
}

.fopy-step-num {
  font-weight: 800;
  color: var(--fopy-green);
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* --- FOOTER --- */
.fopy-footer {
  background: var(--fopy-dark);
  color: #aaa;
  padding: 40px 20px;
  margin-top: 60px;
}

.fopy-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.fopy-footer h4 {
  color: var(--fopy-white);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.fopy-footer a {
  color: #aaa;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

.fopy-footer-bottom {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 0.85rem;
}

/* --- CONTACT FORM --- */
.fopy-form-group {
  margin-bottom: 20px;
}

.fopy-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.fopy-form-group input,
.fopy-form-group textarea,
.fopy-form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.fopy-form-group input:focus,
.fopy-form-group textarea:focus {
  outline: none;
  border-color: var(--fopy-green);
  box-shadow: 0 0 0 3px rgba(110, 176, 65, 0.15);
}

.fopy-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .fopy-h1 {
    font-size: 1.8rem;
  }

  .fopy-h2 {
    font-size: 1.4rem;
  }

  .fopy-grid-2 {
    grid-template-columns: 1fr;
  }

  .fopy-grid-3 {
    grid-template-columns: 1fr;
  }

  .fopy-hero {
    padding: 50px 15px;
  }

  .fopy-page-hero {
    padding: 40px 20px 35px;
  }

  .fopy-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .fopy-stat-num {
    font-size: 1.8rem;
  }

  .fopy-cta-strip {
    padding: 55px 20px;
  }

  .fopy-cta-strip h2 {
    font-size: 1.6rem;
  }

  .fopy-feature-strip {
    padding: 50px 20px;
  }

  .fopy-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--fopy-white);
    border-bottom: 3px solid var(--fopy-green);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
  }

  .fopy-nav-links.open {
    display: flex;
  }

  .fopy-nav-links a {
    padding: 12px 20px;
    border-radius: 0;
  }

  .fopy-nav-toggle {
    display: block;
  }

  .fopy-footer-inner {
    grid-template-columns: 1fr;
  }
}
