/* About Section Container */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  align-items: stretch;
}

/* Typographic Art - Left Column mit Fade nach rechts */
.dynamic-about {
  flex: 1 1 48%;
  min-width: 320px;
  background: linear-gradient(to right, 
    rgba(35, 35, 50, 0.35) 0%, 
    rgba(40, 40, 55, 0.4) 40%, 
    rgba(40, 40, 55, 0.25) 70%,
    rgba(40, 40, 55, 0.1) 90%,
    transparent 100%);
  padding: 2em;
  padding-right: 3em;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-image: linear-gradient(to right, 
    rgba(120, 120, 150, 0.4) 0%, 
    rgba(120, 120, 150, 0.3) 50%,
    rgba(120, 120, 150, 0.15) 80%,
    transparent 100%) 1;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.dynamic-about h3 {
  font-family: 'Arial Black', 'Impact', sans-serif;
  font-size: 2em;
  line-height: 0.85;
  margin-bottom: 0.7em;
  text-transform: uppercase;
  letter-spacing: -2px;
  border-bottom: 3px solid rgba(180, 180, 200, 0.4);
  padding-bottom: 0.25em;
  font-weight: 900;
  color: #d4d4e8;
}

/* Typographic Puzzle Styles */
.text-puzzle {
  font-family: 'Arial Black', 'Impact', sans-serif;
  line-height: 1.05;
  margin: 0;
  user-select: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text-line {
  display: block;
  margin: 0.15em 0;
  transition: all 0.4s ease;
  cursor: default;
  word-wrap: break-word;
  color: #a8a8c0;
}

.text-line:hover {
  transform: translateX(6px);
  color: #c8c8e0;
  text-shadow: 0 0 8px rgba(200, 200, 224, 0.3);
}

/* Zwei-Spalten Layout */
.text-row {
  display: flex;
  gap: 1.5em;
  margin: 0.25em 0;
}

.text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.text-col .text-line {
  margin: 0.1em 0;
}

/* Size Variations */
.xl { 
  font-size: 1.7em;
  font-weight: 900; 
  letter-spacing: -2px; 
  line-height: 0.9;
  color: #b8b8d0;
}

.large { 
  font-size: 1.35em;
  font-weight: 900;
  line-height: 0.95;
  color: #a0a0b8;
}

.medium { 
  font-size: 1.05em;
  font-weight: 700;
  color: #9898b0;
}

.small { 
  font-size: 0.82em;
  font-weight: 600; 
  letter-spacing: 0.3px;
  color: #8888a0;
}

.tiny { 
  font-size: 0.72em;
  font-weight: 600; 
  letter-spacing: 0.5px;
  color: #787890;
}

/* Style Variations */
.highlight {
  display: inline-block;
  background: rgba(100, 100, 140, 0.3);
  color: #d0d0e8;
  padding: 0.05em 0.3em;
  margin: 0 0.1em;
  border: 1px solid rgba(150, 150, 180, 0.4);
  box-shadow: 0 0 8px rgba(100, 100, 140, 0.2);
}

.highlight-inline {
  background: rgba(100, 100, 140, 0.2);
  padding: 0.05em 0.2em;
  border-left: 3px solid rgba(150, 150, 180, 0.5);
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(160, 160, 180, 0.6);
  text-stroke: 1.5px rgba(160, 160, 180, 0.6);
}

.tight { 
  letter-spacing: -2px; 
}

/* Separators */
.separator {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(140, 140, 160, 0.4) 20%, 
    rgba(140, 140, 160, 0.4) 80%, 
    transparent 100%);
  margin: 0.6em 0;
}

.thin-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(120, 120, 140, 0.3) 30%, 
    rgba(120, 120, 140, 0.3) 70%, 
    transparent 100%);
  margin: 0.35em 0;
}

/* EPK Buttons - Zentriert OHNE Animation */
.epk-buttons {
  margin-top: 1.5em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(140, 140, 160, 0.3);
  display: flex;
  gap: 1em;
  justify-content: center;
}

.btn-epk {
  background: rgba(80, 80, 110, 0.3);
}

/* Right Column */
.about-right-column {
  flex: 1 1 48%;
  min-width: 320px;
  display: flex;
}

.artist-bio {
  background: rgba(40, 40, 55, 0.4);
  padding: 2em;
  border-radius: 10px;
  border: 1px solid rgba(100, 100, 120, 0.3);
  backdrop-filter: blur(10px);
  color: #b0b0c8;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.artist-bio h3 {
  font-size: 1.8em;
  margin-bottom: 1em;
  text-align: center;
  color: #c8c8e0;
}

/* Bild floated links - Text fließt rechts und darunter */
.artist-inline-image {
  float: left;
  width: 140px;
  height: auto;
  border-radius: 10px;
  margin: 0 1.5em 1em 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(120, 120, 150, 0.3);
  shape-outside: margin-box;
}

.artist-bio p {
  line-height: 1.8;
  margin-bottom: 1em;
  font-size: 1.05em;
  color: #a0a0b8;
  text-align: justify;
}

/* Bio Button Container - mit Abstand und clear */
.bio-button-container {
  margin-top: auto;
  padding-top: 1.5em;
  border-top: 1px solid rgba(140, 140, 160, 0.3);
  text-align: center;
  clear: both;
}

/* Button Styles */
.btn {
  display: inline-block;
  color: #c0c0d8;
  border: 1px solid rgba(140, 140, 170, 0.5);
  padding: 0.7em 1.3em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  cursor: pointer;
  font-family: inherit;
}

.btn-bio {
  background: rgba(100, 100, 130, 0.35);
}

.btn:hover {
  background: rgba(100, 100, 130, 0.5);
  color: #e0e0f0;
  border-color: rgba(160, 160, 190, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(100, 100, 140, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: linear-gradient(135deg, rgba(35, 35, 50, 0.95), rgba(40, 40, 55, 0.95));
  margin: 3% auto;
  padding: 0;
  border: 1px solid rgba(120, 120, 150, 0.4);
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.4s ease;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes slideDown {
  from { 
    transform: translateY(-50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Header wie Windows */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 1.5em;
  background: rgba(30, 30, 40, 0.6);
  border-bottom: 1px solid rgba(140, 140, 160, 0.3);
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  color: #d4d4e8;
  font-size: 1.5em;
  margin: 0;
}

.close-modal {
  background: rgba(60, 60, 80, 0.4);
  border: 1px solid rgba(100, 100, 120, 0.4);
  color: #b0b0c8;
  font-size: 1.8em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.close-modal:hover {
  background: rgba(180, 60, 60, 0.7);
  border-color: rgba(200, 80, 80, 0.8);
  color: #fff;
}

.close-modal:active {
  transform: scale(0.95);
}

.modal-body {
  padding: 2em;
  overflow-y: auto;
  flex-grow: 1;
  color: #b0b0c8;
  line-height: 1.8;
}

.modal-body p {
  margin-bottom: 1em;
  text-align: justify;
}

/* NEUE REGELN FÜR DYNAMISCH GELADENEN INHALT */

/* 1. Stil für Überschriften (die <strong> Tags am Absatzanfang) */
/* Erhöhte margin-top für mehr Abstand VOR dem Abschnitt */
.modal-body p strong:first-child {
    display: block; 
    color: #e0e0f5; 
    font-size: 1.3em; 
    margin-top: 2.5em; /* ANGEPASST: Größerer Abstand vor dem Abschnitt */
    margin-bottom: 1em; /* ANGEPASST: Größerer Abstand nach der Überschrift */
    font-weight: 700;
    border-left: 4px solid rgba(140, 140, 180, 0.6);
    padding-left: 0.8em;
    line-height: 1.4;
}

/* 2. Setzt den Abstand des allerersten Titels zurück, damit er oben bündig ist */
.modal-body p:first-child strong:first-child {
    margin-top: 0;
}


/* 3. Stil für normalen, inline verwendeten <strong> Text (im Fließtext) */
.modal-body p strong {
    color: #d4d4e8; 
    font-weight: 700;
}

/* 4. Stil für kursiven Text (<em> Tags, die durch *...* erzeugt werden) */
.modal-body p em {
    color: #c8c8e0;
    font-style: italic;
    font-weight: 400; 
}

/* 5. Abstand für den allerersten Absatz im Modal entfernen */
.modal-body p:first-child {
    margin-top: 0;
}

/* ENDE NEUER REGELN */


/* Responsive Design */
@media (max-width: 900px) {
  .dynamic-about h3 {
    font-size: 1.8em;
  }
  
  .xl { font-size: 1.5em; }
  .large { font-size: 1.25em; }
  .medium { font-size: 1em; }
  
  .text-row {
    flex-direction: column;
    gap: 0.5em;
  }
  
  .artist-inline-image {
    width: 130px;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
}

@media (max-width: 700px) {
  .about-container {
    gap: 2em;
  }
  
  .dynamic-about {
    padding: 1.5em 1em;
    background: linear-gradient(135deg, 
      rgba(35, 35, 50, 0.3) 0%, 
      rgba(40, 40, 55, 0.35) 100%);
    border: 1px solid rgba(120, 120, 150, 0.35);
  }
  
  .dynamic-about h3 {
    font-size: 1.6em;
  }
  
  .xl { font-size: 1.4em; }
  .large { font-size: 1.15em; }
  .medium { font-size: 0.95em; }
  .small { font-size: 0.78em; }
  
  .text-row {
    flex-direction: column;
    gap: 0.3em;
  }
  
  .epk-buttons {
    flex-direction: column;
    gap: 0.6em;
  }
  
  .btn {
    width: 100%;
  }
  
  .artist-inline-image {
    float: none;
    display: block;
    margin: 0 auto 1em auto;
    width: 60%;
    max-width: 180px;
  }
  
  .modal-content {
    margin: 5% auto;
    width: 95%;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 1em;
  }
  
  .modal-header h2 {
    font-size: 1.3em;
  }
  
  .close-modal {
    width: 36px;
    height: 36px;
    font-size: 1.6em;
  }
  
  .modal-body {
    padding: 1.5em;
  }
  
    .bio-button-container {
    flex-direction: column;
  }
  
  .bio-button-container .btn {
    width: 100%;
  }
}

/* Textblock im typografischen Bereich */
.about-text-block {
  margin-top: 0.5em;
  background: rgba(25, 25, 35, 0.6);
  padding: 1.5em;
  border-radius: 8px;
  border: 1px solid rgba(100, 100, 120, 0.3);
  backdrop-filter: blur(5px);
}

.about-text-block p {
  line-height: 1.8;
  font-size: 1.05em;
  color: #d0d0e0;
  text-align: justify;
  margin: 0;
  font-family: Arial, sans-serif;
  font-weight: normal;
}

/* Highlights im Text */
.text-highlight-large {
  color: #e8e8f5;
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(200, 200, 230, 0.3);
}

.text-highlight {
  color: #e0e0f0;
  font-weight: 600;
  background: rgba(100, 100, 140, 0.4);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid rgba(140, 140, 180, 0.3);
  box-shadow: 0 0 8px rgba(120, 120, 160, 0.2);
}

.bio-button-container {
  margin-top: auto;
  padding-top: 1.5em;
  border-top: 1px solid rgba(140, 140, 160, 0.3);
  text-align: center;
  clear: both;
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}