/* ===== KÜFNER FILTER – DESIGN SYSTEM (matched to kuefner-filter.com) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #0076FF;
  --text-color: #2A2C31;
  --highlight-color: #FFD800;
  --dark-color: #2A2C31;
  --light-color: #FFFFFF;
  --gray-color: #F0F0F0;
  --darkgray-color: #42454D;
  --error-color: #E60254;
  --success-color: #02FF7E;

  --kf-shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --kf-shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --kf-shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --kf-radius-sm: 0px;
  --kf-radius-md: 0px;
  --kf-radius-lg: 0px;
  --kf-transition: 0.2s ease-in-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text-color);
  background: var(--light-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary-color); text-decoration: none; transition: color var(--kf-transition); }
a:hover { color: var(--text-color); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; color: var(--text-color); line-height: 1.25;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
strong { font-weight: 700; }

::selection { background: rgba(0,118,255,0.15); color: var(--text-color); }

.section--headline {
  font-size: 0.875rem; line-height: 1.25rem;
  text-transform: uppercase; letter-spacing: 8.4px;
  font-weight: 700; color: var(--text-color);
}

.kf-container { max-width: 1520px; margin: 0 auto; padding: 0 32px; }

.kf-section-title { text-align: center; margin-bottom: 0.5rem; }
.kf-section-sub { text-align: center; color: var(--darkgray-color); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.label-sm { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--darkgray-color); }

/* Cards – no border-radius, matching Küfner's angular style */
.kf-card {
  background: var(--light-color);
  border: 1px solid var(--gray-color);
  box-shadow: var(--kf-shadow-sm);
  transition: box-shadow var(--kf-transition), transform var(--kf-transition);
}
.kf-card:hover { box-shadow: var(--kf-shadow-md); }

/* Buttons – Küfner CTA style */
.kf-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-color); color: #fff;
  padding: 8px 16px; font-weight: 700; font-size: 1.25rem; line-height: 1.75rem;
  font-family: 'Poppins', sans-serif; border: none; cursor: pointer;
  transition: background var(--kf-transition); text-decoration: none;
}
.kf-btn-primary::after { content: "↗"; margin-left: 8px; }
.kf-btn-primary:hover { background: var(--text-color); color: #fff; }
.kf-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.kf-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary-color);
  border: none; padding: 8px 16px;
  font-weight: 700; font-size: 1rem; font-family: 'Poppins', sans-serif;
  cursor: pointer; transition: all var(--kf-transition); text-decoration: none;
}
.kf-btn-secondary::after { content: "↗"; margin-left: 8px; }
.kf-btn-secondary:hover { color: var(--text-color); }

.kf-btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary-color);
  border: none; padding: 8px 0; font-weight: 700; font-size: 1rem;
  font-family: 'Poppins', sans-serif; cursor: pointer; transition: color var(--kf-transition);
}
.kf-btn-back::before { content: "←"; margin-right: 8px; }
.kf-btn-back:hover { color: var(--text-color); }

.kf-btn-cta-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--light-color); border: 1px solid var(--light-color);
  padding: 8px 16px; font-weight: 700; font-size: 1.25rem;
  font-family: 'Poppins', sans-serif; cursor: pointer; text-decoration: none;
  background: transparent; transition: all var(--kf-transition);
}
.kf-btn-cta-outline::after { content: "↗"; margin-left: 8px; }
.kf-btn-cta-outline:hover { background: var(--text-color); color: #fff; }

.kf-btn-sm { padding: 6px 12px; font-size: 0.875rem; }
.kf-btn-lg { font-size: 1.25rem; }

/* Inputs – Küfner style: gray bg, no border */
.kf-input, .kf-select, .kf-textarea {
  background: var(--gray-color); border: none;
  padding: 16px; font-size: 1rem; font-family: 'Poppins', sans-serif;
  width: 100%; transition: box-shadow 0.15s; color: var(--text-color);
}
.kf-input:focus, .kf-select:focus, .kf-textarea:focus {
  outline: none; box-shadow: 0 0 0 3px var(--primary-color);
}
.kf-input.error, .kf-select.error { box-shadow: 0 0 0 3px var(--error-color); }
.kf-input::placeholder { color: var(--darkgray-color); }
.kf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159,199.51,87.51a12,12,0,0,1,17,17Z' fill='%2342454D'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.kf-textarea { resize: vertical; min-height: 80px; }

/* Badges */
.kf-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; font-size: 0.75rem; font-weight: 600;
  background: rgba(0,118,255,0.1); color: var(--primary-color);
  border: 1px solid rgba(0,118,255,0.2); white-space: nowrap;
}
.kf-badge--success { background: rgba(2,255,126,0.1); color: #0a6b3a; border-color: rgba(2,255,126,0.3); }

/* Animations */
.kf-fade-in { animation: kfFadeIn 0.3s ease both; }
.kf-slide-up { animation: kfSlideUp 0.4s ease both; }
@keyframes kfFadeIn { from{opacity:0} to{opacity:1} }
@keyframes kfSlideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
@keyframes kfScaleIn { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
@keyframes kfPulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,118,255,0.3)} 50%{box-shadow:0 0 0 8px rgba(0,118,255,0)} }
@keyframes kfSpin { from{transform:rotate(0)} to{transform:rotate(360deg)} }

.kf-skeleton {
  background: linear-gradient(90deg, var(--gray-color) 25%, #e0e0e0 50%, var(--gray-color) 75%);
  background-size: 400% 100%; animation: kfSkel 1.4s ease infinite;
}
@keyframes kfSkel { 0%{background-position:100% 50%} 100%{background-position:0% 50%} }

.kf-spinner { display:inline-block;width:18px;height:18px;border:2px solid rgba(255,255,255,0.3);border-top-color:#fff;border-radius:50%;animation:kfSpin .6s linear infinite; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-color); }
::-webkit-scrollbar-thumb { background: #bbb; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }
