/* ==========================================================================
   was-kostet-mich.de - Modern B2B & Service Hub Design System
   ========================================================================== */

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

:root {
  --bg-body: #F4F4F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #FAFAFA;
  --bg-dark: #18181B;
  
  --text-main: #18181B;
  --text-muted: #71717A;
  --text-light: #A1A1AA;
  --text-white: #FFFFFF;
  
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-subtle: #EFF6FF;
  --primary-border: #BFDBFE;
  
  --success: #10B981;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  
  --border: #E4E4E7;
  --border-light: #F4F4F5;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.938rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.btn-dark:hover {
  background-color: #27272A;
}

.hero {
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.813rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.search-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 8px;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--border);
}

.search-input-group:last-of-type {
  border-right: none;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.938rem;
  color: var(--text-main);
  padding: 8px;
}

.search-input::placeholder {
  color: var(--text-light);
}

.benchmark-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.benchmark-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.benchmark-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--success-bg);
  color: var(--success);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
}

.benchmark-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benchmark-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.benchmark-item-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.benchmark-item-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.benchmark-price {
  font-weight: 700;
  font-size: 0.938rem;
  color: var(--primary);
}

.section {
  padding: 64px 0;
}

.section-header {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.938rem;
  margin-top: 4px;
}

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

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.category-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.category-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.category-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.813rem;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.category-price-range {
  color: var(--primary);
}

.b2b-banner {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.b2b-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #93C5FD;
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.813rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.b2b-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.b2b-desc {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 24px;
}

.b2b-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.b2b-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  color: #E4E4E7;
}

.b2b-check {
  color: var(--success);
  font-weight: bold;
}

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.938rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  font-size: 0.813rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-grid, .b2b-banner, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .search-box {
    flex-direction: column;
  }
  .search-input-group {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
}


/* Forms & Registration */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 40px auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.938rem;
  color: var(--text-main);
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Company Card in Finder */
.company-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.company-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.company-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--success-bg);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.company-tag {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
