/*
Copyright Elias Bentz - elias@bentz.dev
Kita Marienkäfer 2025
*/

.konzept-inhalt {
    max-width: 800px; 
    margin: 4rem auto; 
    padding: 2rem; 
    font-size: 1.1rem;
    line-height: 1.7;  
    color: #333;
}

.konzept-inhalt h1,
.konzept-inhalt h2 {
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.konzept-inhalt h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.konzept-inhalt h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #ef4444; 
    padding-bottom: 0.5rem;
}

.konzept-inhalt p {
    margin-bottom: 1.5rem; 
}

.konzept-inhalt .hervorhebung {
    background-color: #fee2e2;
    border-left: 5px solid #ef4444;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.impression-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
}

.impression-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
}

.impression-card:hover {
  transform: translateY(-5px);
}

.impression-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.impression-content {
  padding: 16px;
}

.impression-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #111827;
}

.impression-content p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Modal-Styling --- */

.modal-backdrop {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); 
    display: none; 
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 700px; 
    position: relative;
    max-height: 80vh; 
    overflow-y: auto; 
}

.modal-content h3 {
    color: var(--primary-green);
    margin-top: 0;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    margin-left: 10px;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
}

.read-more-button {
    background: none;
    border: none;
    color: var(--primary-green); 
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}