/* Für Kommunen - Nutzt bestehende home.css Klassen */

/* Hero Section - nutzt ka-hero Stil */
.kommunen-hero {
  padding: 4rem 0 3rem 0;
}

.hero-headline {
  /* Nutzt ka-h1 aus home.css */
  font-size: clamp(2.25rem, 1.9615rem + 1.2821vw, 3.5rem); 
  line-height: 1.2; 
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 1.5rem;
}

.hero-subheadline {
  /* Nutzt ka-sub aus home.css */
  font-size: 1.25rem; 
  line-height: 1.6; 
  color: var(--text);
  margin: 0;
}

/* Section Titles - nutzt ka-h2 */
.section-title,
.main-section-title {
  font-size: 1.6rem; 
  font-weight: 700; 
  color: var(--text-strong);
  margin-bottom: 1.5rem;
}

/* Intro Content - nutzt ka-p */
.intro-content {
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
}

.intro-content p {
  margin-bottom: 1rem;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

/* Feature Sections - nutzt ka-sec Spacing */
.intro-section,
.features-section,
.benefits-section {
  margin-bottom: 4rem;
}

.feature-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.feature-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-title {
  font-size: 1.6rem; 
  font-weight: 700; 
  color: var(--text-strong);
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
  margin-bottom: 1rem;
}

/* Feature Bullets - nutzt de-list Stil aus Wiki */
.feature-bullets {
  margin: .25rem 0 0; 
  padding-left: .8rem; 
  list-style-type: square; 
  list-style-position: outside;
}

.feature-bullets li {
  padding-left: .6rem;
  font-size: 1.1rem; 
  line-height: 1.65; 
  color: var(--text);
}

/* Benefits - ähnlich feature styling */
.benefit-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.benefit-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.benefit-description {
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
  margin: 0;
}

/* Pricing Section - nutzt bestehende Design-Patterns */
.pricing-section {
  margin-bottom: 4rem;
}

.pricing-subtitle {
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.pricing-table th {
  background: var(--panel);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-strong);
  border-bottom: 1px solid var(--line);
}

.pricing-table th.price-column {
  text-align: right;
}

.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--panel);
}

.pricing-table .package-name {
  font-weight: 600;
  color: var(--text-strong);
}

.pricing-table .price-column {
  text-align: right;
  font-weight: 400;
}

.pricing-note {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1rem;
}

/* CTA Section - ähnlich ka-seo-card */
.cta-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2rem;
  margin-bottom: 4rem;
}

.cta-title {
  font-size: 1.6rem; 
  font-weight: 700; 
  color: var(--text-strong);
  margin-bottom: 1rem;
}

.cta-content {
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 1rem;
}

.cta-content p:last-child {
  margin-bottom: 0;
}

/* CTA Button - nutzt ka-button Stil */
.cta-button {
  background-color: rgb(234, 56, 145) !important;
  color: #ffffff !important;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: filter .15s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  filter: brightness(0.92);
}

/* Tech Section */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tech-column {
  padding: 0;
}

.tech-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.tech-title:first-child {
  margin-top: 0;
}

/* Tech Lists - nutzt de-list Stil */
.tech-list {
  margin: .25rem 0 0; 
  padding-left: .8rem; 
  list-style-type: square; 
  list-style-position: outside;
}

.tech-list li {
  padding-left: .6rem;
  font-size: 1.1rem; 
  line-height: 1.65; 
  color: var(--text);
  margin-bottom: 0.25rem;
}

.tech-list li:last-child {
  margin-bottom: 0;
}

.tech-note {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  text-align: left;
  margin: 0;
}

/* Partner Section - Callout-Stil */
.partner-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3rem;
  margin-bottom: 4rem;
}

.partner-intro {
  font-size: 1.1rem; 
  line-height: 1.5; 
  color: var(--text);
  padding-bottom: 2rem;
  margin-bottom: 0 !important;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-column {
  padding: 2rem;
}

.partner-column-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 1.5rem;
}

/* Partner Lists - nutzt de-list Stil */
.partner-list {
  margin: .25rem 0 0; 
  padding-left: .8rem; 
  list-style-type: square; 
  list-style-position: outside;
}

.partner-list li {
  padding-left: .6rem;
  font-size: 1.1rem; 
  line-height: 1.65; 
  color: var(--text);
  margin-bottom: 0.5rem;
}

.partner-list li:last-child {
  margin-bottom: 0;
}

/* Partner CTA Buttons */
.partner-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.partner-btn {
  padding: 0.75rem 2rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: filter .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  min-width: 140px;
}

.partner-btn-primary {
  background-color: rgb(234, 56, 145) !important;
  color: #ffffff !important;
}

.partner-btn-primary:hover {
  filter: brightness(0.92);
}

.partner-btn-secondary {
  background-color: transparent;
  color: var(--text-strong);
  border: 1px solid var(--line);
}

.partner-btn-secondary:hover {
  background-color: var(--panel);
}

/* Responsive Anpassungen - nutzt home.css Breakpoints */
@media (max-width: 768px) {
  .hero-headline {
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  }
  
  .hero-subheadline {
    font-size: 1.1rem;
  }
  
  .section-title,
  .main-section-title {
    font-size: 1.4rem;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 0.5rem;
    font-size: 0.95rem;
  }
  
  .pricing-subtitle {
    font-size: 1rem;
    text-align: left;
  }
  
  .pricing-note {
    font-size: 0.9rem;
    text-align: left;
  }
  
  .partner-section {
    padding: 2rem 1.5rem;
  }
  
  .partner-intro {
    font-size: 1.1rem;
    text-align: left;
  }
  
  .partner-column {
    padding: 1.5rem;
  }
  
  .partner-column-title {
    font-size: 1.25rem;
  }
  
  .partner-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .partner-btn {
    width: 100%;
  }
  
  .cta-section {
    padding: 1.5rem;
  }
}

/* Desktop Grid Layout */
@media (min-width: 769px) {
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
}