:root {
  --body-font-size: 1.3rem;
}

/* Hauptbereich auf der Projektseite */
.project-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Hero */
.project-hero {
  position: relative;
  margin-bottom: 24px;
}

.project-image {
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 0 0;
  display: block;
  object-fit: cover;
}

.project-title-box {
  position: absolute;
  left: 30px;
  bottom: 20px;
  background: rgba(24,24,24,0.7);
  border-radius: 8px;
  padding: 10px 20px;
}

.project-title-box h1 {
  margin: 0;
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-role {
  font-size: 1.1rem;
  color: #a0b1b6;
}

/* === NEUES FLEXBOX-LAYOUT === */
.project-detail-layout {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.project-info-row {
  display: flex;
  flex-direction: row;
  gap: 28px;
  width: 100%;
  margin-top: 16px;
}
.project-about.card  { flex: 6 1 0; min-width: 220px; }
.project-details.card { flex: 4 1 0; min-width: 180px; }
/* Cards */
.card {
  background: #232323;
  border-radius: 10px;
  padding: 24px 22px 18px 22px;
  flex: 1 1 320px;
  min-width: 280px;
  box-sizing: border-box;
  box-shadow: 0 3px 14px 0 rgba(0,0,0,0.15);
}

/* Projekt Body-Text */
.project-detail-body.card {
  width: 1200px;
  max-width: unset; /* volle Breite innerhalb des Layouts */
  box-sizing: border-box;
  margin: 0 auto;
  padding: 38px 32px;
  background:  #232323;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
  text-align: left;
  color: var(--text-main);
}

.project-detail-body h3 {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}
.project-detail-body p,
.project-detail-body ul {
  font-size: var(--body-font-size);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.project-detail-body ul {
  margin-top: 0;
  margin-bottom: 22px;
  padding-left: 1.1em;
}
.project-detail-body li {
  margin-bottom: 13px;
}
.project-detail-body a {
  color: var(--accent);
  text-decoration: underline;
}
.card p,
.card ul {
  font-size: var(--body-font-size);
}

/* Projekt-Info-Kasten */
.project-info-row .project-info-row {
  gap: 12px;
  margin-bottom: 7px;
  font-size: var(--body-font-size);
}
.project-info-row i {
  color: var(--accent);
  min-width: 22px;
  font-size: var(--body-font-size);
}


/* Projekt Body Media */
.project-body-media-double {
  display: flex;
  gap: 30px;
  max-width: 1300px;   /* oder 900px, was auch immer dein Fließtext als max-width hat! */
  margin: 30px auto 20px auto;
  padding: 0;
  justify-content: center;
}

.project-body-media-double img,
.project-body-media-double video {
  flex: 1 1 0;               /* Jeder bekommt gleich viel Platz! */
  width: 100%;
  max-width: 100%;
  height: 700px;              /* Oder Wunschhöhe */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.13);
  background: #232323;
  display: block;
}
@media (max-width: 900px) {
  .project-body-media-double {
    flex-direction: column;
    gap: 18px;
    padding: 0 5vw;
  }
  .project-body-media-double img,
  .project-body-media-double video {
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}
.project-body-media-single {
  width: 70%;
  height: 500;
  min-width: 320px;
  max-width: 850px;
  margin: 40px auto 36px auto;
  padding: 0 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-body-media-single img,
.project-body-media-single video {
  width: 70%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.13);
  display: block;
  background: #232323;
}
@media (max-width: 900px) {
  .project-body-media-single {
    width: 98%;
    max-width: 99vw;
    padding: 0 5vw;
  }
}
.project-body-media-single-wide {
  width: 80%;
  height: 500;;
  min-width: 600px;
  max-width: 1200px;
  margin: 36px auto 36px auto;
  padding: 0 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project-body-media-single-wide img,
.project-body-media-single-wide video {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  background: #232323;
}

/* IFrame */
project-iframe-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 28px 0 36px 0;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .project-iframe-wrap iframe {
    border: 3px solid var(--accent, #f5cb5c);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    width: 390px;
    height: 780px;
    min-width: unset;
    max-width: 96vw;
    max-height: 82vh;
    margin: 0 auto;
    display: block;
  }
  @media (max-width: 600px) {
    .project-iframe-wrap iframe {
      width: 98vw;
      height: 60vh;
      min-width: unset;
      max-width: 100vw;
    }
  }
/* Bullet List in Projekt-Body */
.project-bullet-list {
  list-style-type: disc;      /* Standard-Bullets */
  margin-left: 1.5rem;        /* leichter Einzug */
  padding-left: 0.5rem;       /* Abstand zwischen Bullet und Text */
}

.project-bullet-list li {
  margin-bottom: 0.4rem;      /* etwas Luft zwischen den Punkten */
  line-height: 1.4;           /* bessere Lesbarkeit */
}

.project-info-row .project-link {
  color: #ffda5a;          /* deine Akzentfarbe (gleich wie Icons) */
  text-decoration: underline;
  margin-left: 0.25rem;    /* Abstand zwischen Icon und Text */
}

.project-info-row .project-link:hover {
  color: #ffda5a;          /* bleibt gleich, kein Farbwechsel */
  text-decoration: underline; /* bleibt gleich */
}

.project-hero-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Format */
  height: 0;
  overflow: hidden;
}

.project-hero-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
}

.project-title-box {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.project-title-box-below {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
}

.project-title-box-below h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.project-title-box-below .project-role {
  font-size: 1.1rem;
  color: #ffda5a; /* gleiche Akzentfarbe wie deine Icons */
}