/* Trust / small helper text */
.small-note, .step-hint, .privacy-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */
button, .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  background: var(--green); 
}

button:hover, .btn:hover { opacity: 0.9; background: var(--green-dark); }

button:disabled, .btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Container */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

/* Individual boxes */
.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5rem;
  background: #fff;
  transition: all 0.2s;
}

/* Image inside box */
.service-icon img {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

/* Text inside box */
.service-icon div {
  font-size: 0.9rem;
  line-height: 1.2;
  word-break: break-word;
}

/* Selected state */
.service-icon.selected {
  border-color: var(--green);
  background: #e6f4ea; /* light green background */
  box-shadow: 0 0 0 2px var(--green); /* optional stronger highlight */
}

/* ========================= */
/* FAQ */
/* ========================= */

.faq-section {
  padding: 3rem 1rem;
  margin: 0;
  background: var(--bg-soft);
  border-radius: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child {
  border-bottom: none;
}

/* Question button */
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  color: var(--green);
  transition: background 0.2s ease, color 0.2s ease;
  display: block;               /* override inline-flex */
  text-align: left;
  justify-content: flex-start;  /* safety override */
  align-items: flex-start;      /* safety override */
}

/* Hover + active */
.faq-question:hover,
.faq-item.active .faq-question {
  background: var(--green);
  color: #fff;
}

/* Keyboard focus (important) */
.faq-question:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: -2px;
}

/* + / − icon */
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: currentColor;
}

.faq-item.active .faq-question::after {
  content: '−';
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0.75rem 1.25rem 1rem;
}


/* Form Feedback */
.form-feedback {
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.4;
}

.form-feedback.success {
  background: #e6f7ef;
  color: var(--green-dark);
  border: 1px solid #a9e4c5;
}

.form-feedback.error {
  background: #fdecea;
  color: #9b1c1c;
  border: 1px solid #f5b5b5;
}

.form-feedback + form { margin-top: 1.5rem; }


/* Subpage Header */
.subpage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.subpage-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subpage-header .logo img { height: 48px; }

.subpage-header .main-menu a {
  margin-left: 1.5rem;
  color: var(--green-dark);
  font-weight: 500;
  text-decoration: none;
}

.subpage-header .main-menu a:hover { text-decoration: underline; }

/* Grids */
.step-grid, .benefit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.step-number {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}

.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.6s; }





/* ====================================== */
/* Cards – reusable across pages */
/* ====================================== */
.choice-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.card, .choice-card, .step, .benefit-card {
  text-align: center;                /* always centered text */
  background: rgba(255, 255, 255, 0.85); 
  border-radius: var(--radius-md);   /* consistent rounded corners */
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* ====================================== */
/* Section rhythm – reusable backgrounds */
/* ====================================== */

.section-bg-soft {
  background: var(--bg-soft);
}

.section-bg-light {
  background: rgba(255, 255, 255, 0.6);
}


/* ===== GDPR checkbox layout (final override) ===== */
form .form-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 1.2rem 0;
}

form .form-gdpr input[type="checkbox"] {
  width: auto;
  margin: 0.35rem 0 0 0;
  flex-shrink: 0;
}

form .form-gdpr label {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}