/* ─────────────────────────────────────────────
   KINN Base Design System
   Extrahiert aus KINN's profil.css + inline styles
   ───────────────────────────────────────────── */

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

/* ─── Body & Background ─── */

body {
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fafcfb 100%);
  color: #3A3A3A;
  line-height: 1.618;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(94,217,166,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(94,217,166,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ─── Container ─── */

.container {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

/* ─── Logo ─── */

.logo {
  width: 280px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 3rem;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.06));
}

/* ─── Typography ─── */

h1 {
  font-family: 'Work Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #2C3E50;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 0.75rem;
}

h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2C3E50;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  color: #6B6B6B;
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

p {
  font-size: 0.9375rem;
  color: #6B6B6B;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.meta {
  font-size: 0.875rem;
  color: #999;
  margin-top: 0.75rem;
}

/* ─── Cards ─── */

.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.card p {
  font-size: 0.9375rem;
  color: #6B6B6B;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ─── Buttons ─── */

.cta-button {
  font-family: 'Work Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #5ED9A6;
  color: #000;
  text-decoration: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  width: 100%;
  max-width: none;
  margin: 0 auto 1rem;
}

@media (min-width: 768px) {
  .cta-button {
    width: auto;
    min-width: 240px;
    max-width: 360px;
    margin: 0 0 1rem auto;
  }
}

.cta-button:hover:not(:disabled) {
  background: #4EC995;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(94, 217, 166, 0.3);
}

.cta-button:active:not(:disabled) {
  background: #3EB885;
  transform: translateY(0);
}

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

.secondary-button {
  background: rgba(255, 255, 255, 0.8);
  color: #6B6B6B;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.secondary-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #3A3A3A;
}

.secondary-button:active:not(:disabled) {
  background: rgba(255, 255, 255, 1);
}

.danger-button {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.danger-button:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.danger-button:active:not(:disabled) {
  background: rgba(239, 68, 68, 0.3);
}

/* ─── Forms ─── */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.8);
}

.form-input:focus {
  outline: none;
  border-color: #5ED9A6;
  box-shadow: 0 0 0 3px rgba(94, 217, 166, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9375rem;
  min-height: 100px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: #5ED9A6;
  box-shadow: 0 0 0 3px rgba(94, 217, 166, 0.1);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: #5ED9A6;
  box-shadow: 0 0 0 3px rgba(94, 217, 166, 0.1);
}

/* ─── Loading & States ─── */

.loading {
  text-align: center;
  padding: 2rem;
  color: #6B6B6B;
}

.spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 4px solid rgba(94, 217, 166, 0.2);
  border-top-color: #5ED9A6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.success-message {
  background: rgba(94, 217, 166, 0.1);
  border: 1px solid rgba(94, 217, 166, 0.3);
  color: #059669;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

/* ─── Animations ─── */

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─── Section Divider ─── */

.section-divider {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ─── Responsive ─── */

@media (max-width: 640px) {
  body {
    padding: 1.5rem;
  }

  .logo {
    width: 200px;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.5rem;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}
