/* Blog Article Styles - DD-Gossen */

/* Base Styles */
/* Hintergrund für Blog-Artikel */
body {
  background-image: url('../DD-background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* Blog-spezifische Styles - Header kommt aus styles.css */


.blog-main {
  margin-top: 120px;
  min-height: 100vh;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Article Card Container */
.article-card {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 3rem auto;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Article Images */
.article-card img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Article Title */
.article-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem auto 1.5rem auto;
  line-height: 1.2;
  text-align: center;
  max-width: 650px;
  padding: 0 1rem;
}

/* Article Date */
.article-card .blog-date {
  font-size: 0.95rem;
  color: #144361;
  margin: 0 auto 1.2rem auto;
  text-align: center;
  max-width: 550px;
  padding: 0 1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Article Content */
.article-content {
width:600px;
  margin: 0 auto 2.5rem auto;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  padding: 0 1rem;
}

/* Headings */
.article-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 3rem 0 2rem 0;
  line-height: 1.2;
}

.article-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f172a;
  margin: 3rem 0 1.5rem 0;
  padding-bottom: 0.8rem;
  line-height: 1.3;
  scroll-margin-top: 120px;
  border-bottom: 2px solid rgba(35, 126, 181, 0.2);
}

.article-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.4;
  scroll-margin-top: 120px;
}

.article-content h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 2rem 0 0.8rem 0;
  line-height: 1.4;
}

/* Paragraphs and Lists */
.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: justify;
}

.article-content ul, .article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.8rem;
}

.article-content li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Text Formatting */
.article-content strong {
  font-weight: 600;
  color: #0f172a;
}

.article-content em {
  font-style: italic;
  color: #374151;
}

/* Links */
.article-content a {
  color: #237eb5;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-weight: 500;
}

.article-content a:hover {
  color: #1e40af;
  text-decoration: none;
}

/* Table of Contents */
.table-of-contents {
  
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0 3rem 0;
  border-left: 4px solid #237eb5;
 
}

.table-of-contents h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem 0;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.2);
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
}

.table-of-contents a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  display: block;
  padding: 0.3rem 0.5rem;
  font-size: 0.95rem;
  opacity: 0.7;
 
}

.table-of-contents a:hover {
  opacity: 1;
  color: #237eb5;
}

/* CTA Box */
.cta-box {
  background: rgba(35, 126, 181, 0.05);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  border-left: 4px solid #237eb5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.cta-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.cta-box p {
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
  text-decoration: none;
  display: inline-block;
  margin-top: 1.2rem;
}

a.cta-button  {
  color: white;
  text-decoration: none;
}

a.cta-button:hover {
  color: white;
  text-decoration: none;
}

.cta-button:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
}

/* Support Card */
.support-card {
  max-width: 600px;
  width: 100%;
  margin: 3rem auto;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.support-card p {
  font-size: 1.1rem;
  color: #0f172a;
  opacity: 0.9;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.contact-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
  text-decoration: none;
  display: inline-block;
  margin-top: 1.2rem;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
}

/* Code Blocks */
.article-content pre {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  border-left: 3px solid #237eb5;
}

.article-content code {
  background: rgba(15, 23, 42, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #0f172a;
}

/* Blockquotes */
.article-content blockquote {
  background: rgba(35, 126, 181, 0.05);
  border-left: 4px solid #237eb5;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #374151;
}

/* Tables */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.article-content th,
.article-content td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.article-content th {
  background: rgba(35, 126, 181, 0.1);
  font-weight: 600;
  color: #0f172a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        width: calc(100% - 20px);
        left: 10px;
        top: 10px;
        padding: 0 10px;
    }

    .header .container {
        padding: 1.5rem 10px;
    }

    .logo {
        font-size: 1.5rem;
        left: 10px;
        padding-left: 12px;
    }

    .language-flag {
        right: 20px;
        width: 20px;
        height: 20px;
    }

    .nav-list {
        display: none;
    }
    
    .nav.active .nav-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        list-style: none;
        padding: 0;
        margin: 2rem 0;
    }
}
  
  .blog-main {
    padding: 0 0.5rem;
  }
  
  .article-title {
    font-size: 2.2rem;
    margin: 1.5rem auto 1rem auto;
    padding: 0 0.5rem;
  }
  
  .article-card {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .support-card {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .article-content h1 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem 0;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.2rem 0;
    padding-bottom: 0.6rem;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
    margin: 2rem 0 0.8rem 0;
  }
  
  .article-content h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem 0;
  }
  
  .article-content {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .article-content p {
    margin-bottom: 1.2rem;
  }
  
  .table-of-contents {
    padding: 1.5rem;
    margin: 1.5rem 0 2rem 0;
  }
  
  .table-of-contents h3 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
  }
  
  .table-of-contents a {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }
  
  .cta-box {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .cta-box h3 {
    font-size: 1.2rem;
    margin: 0 0 0.8rem 0;
  }
  
  .cta-button {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
  }

@media (max-width: 480px) {
  .article-title {
    font-size: 1.8rem;
    margin: 1.2rem auto 0.8rem auto;
    padding: 0 0.3rem;
  }
  
  .article-content h1 {
    font-size: 1.8rem;
    margin: 2rem 0 1.2rem 0;
  }
  
  .article-content h2 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
  }
  
  .article-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem 0;
  }
  
  .article-content h4 {
    font-size: 1rem;
    margin: 1.2rem 0 0.5rem 0;
  }
  
  .article-content {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
    padding: 0 0.3rem;
  }
  
  .article-content p {
    margin-bottom: 1rem;
  }
  
  .table-of-contents {
    padding: 1.2rem;
    margin: 1.5rem 0;
  }
  
  .table-of-contents h3 {
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
  }
  
  .table-of-contents a {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .contact-btn {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
  }
  
  .cta-box {
    padding: 1.2rem;
    margin: 1.5rem 0;
  }
  
  .cta-box h3 {
    font-size: 1.1rem;
    margin: 0 0 0.6rem 0;
  }
  
  .cta-box p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  
  .cta-button {
    padding: 0.6rem 1.6rem !important;
    font-size: 0.9rem !important;
  }
}

/* Print Styles */
@media print {
  .article-card {
    background: white;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .support-card {
    display: none;
  }
  
  .table-of-contents {
    background: #f9f9f9;
    border: 1px solid #ddd;
  }
  
  .article-content a {
    color: #000;
    text-decoration: underline;
  }
} 