/* Global Styles - Based on original design */
:root {
  --primary-color: #336fb6;
  --text-color: #333;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Navigation */
.site-header {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(51, 111, 182, 0.85), rgba(51, 111, 182, 0.85)), 
              url('/assets/wp-content/uploads/2025/05/Haeuser_von-oben.webp') center/cover;
  color: var(--white);
  padding: 100px 0;
  text-align: left;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  background-color: #FFFFFFDB;
  color: #666;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.writer-field a, .cta-button {
  display: inline-block;
  background: #71C6E9;
  color: var(--white);
  padding: 15px 35px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.writer-field{
  ul{ 
    margin-left: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  p{
    margin-bottom: 20px;
  }
  ul p{
    margin-bottom: 0;
  }
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: var(--white);
}

.benefits-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 60px;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.benefit-card {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-icon .st0 {
  fill: var(--primary-color);
}

.benefit-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-color);
  line-height: 1.8;
  white-space: pre-line;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.content-section h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.content-section ul,
.content-section ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Image Sections */
.image-text-section {
  padding: 80px 0;
  background: var(--white);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-text-grid .text-content h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.image-text-grid .text-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.image-text-grid .text-content ul {
  margin-left: 25px;
  margin-top: 15px;
}

.image-text-grid .text-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.image-text-grid .text-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.image-text-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-section > p {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 50px;
  color: var(--text-color);
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-button {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 40px;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  width: 100%;
}

.submit-button:hover {
  background: #2557a7;
  transform: translateY(-2px);
}

/* Default Page Styles */
.default-page {
  padding: 60px 0;
}

.default-page article {
  max-width: 900px;
  margin: 0 auto;
}

.default-page h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.default-page .content h2 {
  color: var(--primary-color);
  font-size: 1.875rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.default-page .content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.default-page .content ul,
.default-page .content ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* Deckentypes Section */
.deckentypes-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.deckentypes-section h2 {
  color: var(--primary-color);
  font-size: 1.875rem;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 600;
}

.deckentypes-section h2:first-child {
  margin-top: 0;
}

.deckentypes-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.deckentypes-section ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

/* Dämmatlas Section */
.daemmatlas-section {
  padding: 60px 0;
  background: var(--white);
}

.daemmatlas-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.daemmatlas-section p {
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.8;
}

.daemmatlas-section ul {
  max-width: 600px;
  margin: 0 auto 30px;
}

/* How-to Section */
.howto-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.howto-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.howto-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.howto-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Förderung Section */
.foerderung-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.foerderung-section h2 {
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.foerderung-section h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.foerderung-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* WERK.E Section */
.werke-section {
  padding: 60px 0;
  background: var(--white);
}

.werke-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.werke-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.werke-section ul {
  max-width: 800px;
  margin: 20px auto;
}

/* Förderverfahren Section */
.foerderverfahren-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.foerderverfahren-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.foerderverfahren-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.foerderverfahren-section ol {
  margin-left: 25px;
  margin-bottom: 30px;
}

/* Einblasdämmung Section */
.einblasdaemmung-section {
  padding: 80px 0;
  background: var(--white);
}

.einblasdaemmung-section h2 {
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.einblasdaemmung-section h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* EcoTherm Section */
.ecotherm-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.ecotherm-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.ecotherm-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.ecotherm-section ul {
  max-width: 900px;
  margin: 0 auto;
}

/* Eigenleistung Detail Section */
.eigenleistung-detail-section {
  padding: 80px 0;
  background: var(--white);
}

.eigenleistung-detail-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

/* Westerhorstmann Section */
.westerhorstmann-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.westerhorstmann-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

/* Anleitung Section */
.anleitung-section {
  padding: 80px 0;
  background: var(--white);
}

.anleitung-section h2 {
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.anleitung-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.anleitung-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.faq-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.faq-section h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-section p {
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Contact Info */
.contact-intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .image-text-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}
