/* ========= Fonts ========= */
@font-face {
  font-family: 'Bellota Text';
  src: url('fonts/BellotaText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Bellota Text';
  src: url('fonts/BellotaText-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Bellota Text';
  src: url('fonts/BellotaText-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Bellota Text';
  src: url('fonts/BellotaText-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

:root {
  --bg: #f5f7f4;
  --bg-alt: #ffffff;
  --primary: #456f3f;
  --primary-light: #cee3cb;
  --text: #222222;
  --text-muted: #666666;
  --border-soft: #dde5d9;
  --radius: 14px;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Bellota Text', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-size: 18px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
}

/* ========= Header ========= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #E1EADF !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-text h1 {
  margin: 0;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.brand-text p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
  align-items: center;
  justify-content: center;
}
nav.main-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text);
}
nav.main-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.nav-cta:hover { background: #365431; }

/* ========= Hero / Page Header ========= */
.hero {
  padding: 32px 0 24px;
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.hero-text { flex: 1 1 320px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 10px;
}
.hero h2 {
  margin: 0 0 10px;
  font-size: 30px;
  color: var(--primary);
}
.hero p { margin: 0 0 8px; color: var(--text-muted); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hero-hint { font-size: 13px; color: var(--text-muted); }

.hero-card {
  flex: 0 1 340px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}
.hero-card h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--primary);
}
.hero-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.page-header {
  padding: 26px 0 18px;
}
.page-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  color: var(--primary);
}
.page-header p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.1s ease;
}
.btn:hover {
  background: #365431;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--primary-light); }

/* ========= Sections / Cards ========= */
section {
  padding: 24px 0;
}
section h2 {
  font-size: 24px;
  color: var(--primary);
  margin-top: 0;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.small { font-size: 13px; color: var(--text-muted); }

/* ========= Formular ========= */
form label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
form label span {
  display: block;
  margin-bottom: 3px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-family: 'Bellota Text', sans-serif;
  font-size: 15px;
  outline: none;
  background: #fdfdfd;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(69,111,63,0.18);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
fieldset {
  border: none;
  padding: 0;
  margin: 10px 0;
}
fieldset legend {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}

/* ========= Grids ========= */
.rechner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}
.jobs-list,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.jobs-item h3,
.blog-card h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--primary);
}
.jobs-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 6px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-item {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 8px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.gallery-item p {
  font-size: 14px;
  margin: 6px 0 0;
  color: var(--text-muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
}
.contact-details {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
}
.about-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 15px;
}
.about-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
  object-fit: contain;
  max-height: none;
}
.about-box h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--primary);
}
.keypoints {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 14px;
}
.keypoints li::before {
  content: "• ";
  color: var(--primary);
}

/* ========= Legal Sections (Impressum, AGB, Datenschutz) ========= */
.legal-section {
  padding: 40px 0;
}
.legal-section h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--primary);
}
.legal-section h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--primary);
}
.legal-section h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--primary);
}
.legal-section p,
.legal-section ul {
  margin-bottom: 15px;
  line-height: 1.6;
}
.legal-section ul {
  margin-left: 20px;
}
.legal-section a {
  color: var(--primary);
  text-decoration: underline;
}
.legal-section a:hover {
  color: #2d4a28;
}

/* ========= Footer ========= */
.site-footer {
  margin-top: 60px;
  padding: 40px 0 20px;
  background: #e1eadf;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 14px;
  color: #222;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
}
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #456f3f;
  margin: 0 0 10px 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links a {
  color: #222;
  text-decoration: none;
}
.footer-links a:hover {
  color: #456f3f;
  text-decoration: underline;
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  font-size: 13px;
  color: #666;
}
.footer-bottom p {
  margin: 0;
}

/* ========= Responsive Design ========= */

/* Tablet (max-width: 900px) */
@media (max-width: 900px) {
  /* Footer: 2 Spalten */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  /* Header zentriert */
  .header-inner {
    justify-content: center;
    text-align: center;
  }
  .brand {
    justify-content: center;
  }
  
  /* Grids auf 1 Spalte */
  .rechner-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hero anpassen */
  .hero h2 {
    font-size: 26px;
  }
  
  /* Legal Sections */
  .legal-section h1 {
    font-size: 28px;
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  /* Footer: 1 Spalte */
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  /* Schriftgrößen anpassen */
  body {
    font-size: 16px;
  }
  
  .hero h2 {
    font-size: 24px;
  }
  
  section h2 {
    font-size: 22px;
  }
  
  .legal-section h1 {
    font-size: 26px;
  }
  
  .legal-section h2 {
    font-size: 18px;
  }
  
  /* Header Logo kleiner */
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  
  .brand-text h1 {
    font-size: 18px;
  }
  
  .brand-text p {
    font-size: 12px;
  }
  
  /* Navigation kleinere Schrift */
  nav.main-nav {
    font-size: 14px;
  }
  
  /* Buttons volle Breite auf sehr kleinen Screens */
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Padding reduzieren */
  .wrap {
    padding: 0 12px;
  }
  
  section {
    padding: 18px 0;
  }
  
  .legal-section {
    padding: 30px 0;
  }
  
  /* Cards Padding reduzieren */
  .card {
    padding: 14px;
  }
  
  /* Gallery Grid anpassen */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Sehr kleine Screens (max-width: 400px) */
@media (max-width: 400px) {
  .hero h2 {
    font-size: 22px;
  }
  
  section h2 {
    font-size: 20px;
  }
  
  .btn {
    font-size: 14px;
    padding: 8px 14px;
  }
  
  /* Jobs und Blog Grid auf 1 Spalte */
  .jobs-list,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
/* ========= Galerie-spezifische Styles ========= */

/* Galerie-Filter Sektion */
.gallery-filter-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
  margin-bottom: 30px;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Professionelles Galerie-Grid */
.gallery-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Professionelle Galerie-Karten */
.gallery-card-pro {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.gallery-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--primary-light);
}

.gallery-card-pro:hover::before {
  opacity: 1;
}

/* Galerie-Karten Header (Tags) */
.gallery-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px 8px;
  background: var(--bg);
}

.gallery-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gallery-tag-room {
  display: inline-block;
  background: #e8f4e6;
  color: #5a7a54;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Bild-Wrapper (flexibel für alle Formate) */
.gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-card-pro:hover .gallery-image {
  transform: scale(1.05);
}

/* Overlay beim Hover */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(69, 111, 63, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card-pro:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  font-size: 48px;
  color: white;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Galerie-Karten Content */
.gallery-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-card-content h3 {
  margin: 0;
  font-size: 18px;
  color: var(--primary);
  line-height: 1.3;
}

.gallery-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

/* Projekt-Details */
.gallery-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.gallery-detail-item {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Galerie-Hinweis Box */
.gallery-note {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.gallery-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.gallery-note strong {
  color: var(--primary);
}

.gallery-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.gallery-note a:hover {
  color: #2d4a28;
}

/* ========= Lightbox ========= */

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

#lightbox-caption {
  color: white;
  text-align: center;
  padding: 16px 20px;
  font-size: 16px;
  max-width: 600px;
  margin-top: 20px;
  background: rgba(0,0,0,0.7);
  border-radius: 8px;
}

/* Lightbox Controls */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--primary-light);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  padding: 16px 24px;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  transition: all 0.3s ease;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(69, 111, 63, 0.8);
}

/* Responsive Design für Galerie */
@media (max-width: 900px) {
  .gallery-grid-pro {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .gallery-image-wrapper {
    height: 240px;
  }
  
  .gallery-card-content h3 {
    font-size: 17px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 36px;
    padding: 12px 16px;
  }
  
  .lightbox-close {
    font-size: 40px;
    right: 20px;
  }
}

@media (max-width: 600px) {
  .gallery-grid-pro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .gallery-filter {
    gap: 8px;
  }
  
  .filter-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .gallery-image-wrapper {
    height: 220px;
  }
  
  .gallery-card-content {
    padding: 14px;
  }
  
  .gallery-card-content h3 {
    font-size: 16px;
  }
  
  .gallery-description {
    font-size: 13px;
  }
  
  .gallery-detail-item {
    font-size: 12px;
  }
  
  .lightbox-content {
    max-width: 95%;
  }
  
  #lightbox-img {
    max-height: 70vh;
  }
  
  #lightbox-caption {
    font-size: 14px;
    padding: 12px 16px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 28px;
    padding: 8px 12px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    font-size: 36px;
    top: 10px;
    right: 10px;
  }
}

/* Animation für gefilterte Karten */
@keyframes fadeInGallery {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.gallery-card-pro.filtered {
  animation: fadeInGallery 0.4s ease-in;
}

/* ========= Blog-spezifische Styles ========= */

/* Blog-Filter Sektion */
.blog-filter-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
  margin-bottom: 30px;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text);
  font-family: 'Bellota Text', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* Professionelles Blog-Grid */
.blog-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Professionelle Blog-Karten */
.blog-card-pro {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--primary-light);
}

.blog-card-pro:hover::before {
  opacity: 1;
}

/* Blog-Karten Header (Tags) */
.blog-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Blog-Karten Titel */
.blog-card-pro h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: var(--primary);
  line-height: 1.3;
}

/* Blog-Excerpt (Vorschautext) */
.blog-excerpt {
  flex: 1;
  margin: 0 0 16px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Blog-Karten Footer */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  gap: 10px;
  flex-wrap: wrap;
}

.blog-date {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-read-more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-read-more:hover {
  color: #2d4a28;
  text-decoration: underline;
}

/* Blog-Hinweis Box */
.blog-note {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.blog-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.blog-note strong {
  color: var(--primary);
}

.blog-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.blog-note a:hover {
  color: #2d4a28;
}

/* Responsive Design für Blog */
@media (max-width: 900px) {
  .blog-grid-pro {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .blog-card-pro h3 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .blog-grid-pro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .blog-filter {
    gap: 8px;
  }
  
  .filter-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .blog-card-pro {
    padding: 16px;
  }
  
  .blog-card-pro h3 {
    font-size: 17px;
  }
  
  .blog-excerpt {
    font-size: 14px;
  }
  
  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
